correct fix for #28558
authorCampbell Barton <ideasman42@gmail.com>
Thu, 8 Sep 2011 09:48:41 +0000 (09:48 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 8 Sep 2011 09:48:41 +0000 (09:48 +0000)
release/scripts/modules/bpy_types.py

index ef03951108fc95f2560a75961af8e9d69d82c1ee..b3127733c1eb8d8da655f510b31722a139c0a96a 100644 (file)
@@ -356,10 +356,7 @@ class Mesh(bpy_types.ID):
 
     @property
     def edge_keys(self):
 
     @property
     def edge_keys(self):
-        return list({edge_key
-                     for face in self.faces
-                     for edge_key in face.edge_keys
-                     })
+        return [ed.key for ed in self.edges]
 
 
 class MeshEdge(StructRNA):
 
 
 class MeshEdge(StructRNA):