svn merge ^/trunk/blender -r43934:43976
[blender.git] / release / scripts / modules / bpy_extras / mesh_utils.py
index 601ffae4796fd8f5d844f542426d300846e88b94..e93036ee9bb7c16cb819ea12b71f058eceb5cf3a 100644 (file)
@@ -140,8 +140,7 @@ def edge_loops_from_faces(mesh, faces=None, seams=()):
     edges = {}
 
     for f in faces:
-#        if len(f) == 4:
-        if f.vertices_raw[3] != 0:
+        if len(f.vertices) == 4:
             edge_keys = f.edge_keys
             for i, edkey in enumerate(f.edge_keys):
                 edges.setdefault(edkey, []).append(edge_keys[OTHER_INDEX[i]])