fix for error when moving module, broke fracture tools and select internal face operator.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 3 Jul 2011 04:28:41 +0000 (04:28 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 3 Jul 2011 04:28:41 +0000 (04:28 +0000)
release/scripts/modules/bpy_extras/mesh_utils.py

index cf099016aee3ab9a511e93fa95a324a8ab105768..8ed50972c548df465e37a7cb374e91e7f9bf4a46 100644 (file)
@@ -105,9 +105,9 @@ def edge_face_count(mesh):
     :return: list face users for each item in mesh.edges.
     :rtype: list
     """
-    edge_face_count_dict = edge_face_count_dict(mesh)
+    edge_face_count = edge_face_count_dict(mesh)
     get = dict.get
-    return [get(edge_face_count_dict, ed.key, 0) for ed in mesh.edges]
+    return [get(edge_face_count, ed.key, 0) for ed in mesh.edges]
 
 
 def edge_loops_from_faces(mesh, faces=None, seams=()):