From c05f4813b650b8b4d45c172c549947e562bf71aa Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 Feb 2011 21:36:44 +0000 Subject: incorrectly switched mesh.update() --> mesh.update_tag(), update_tag() tags for depsgraph update only, update() executes normal recalculation and creates edge data. --- add_mesh_BoltFactory/createMesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add_mesh_BoltFactory/createMesh.py') diff --git a/add_mesh_BoltFactory/createMesh.py b/add_mesh_BoltFactory/createMesh.py index 36e793b6..4cec092d 100644 --- a/add_mesh_BoltFactory/createMesh.py +++ b/add_mesh_BoltFactory/createMesh.py @@ -2092,7 +2092,7 @@ def create_mesh_object(context, verts, edges, faces, name, edit, align_matrix): mesh.from_pydata(verts, edges, faces) # Update mesh geometry after adding stuff. - mesh.update_tag() + mesh.update() # Deselect all objects. bpy.ops.object.select_all(action='DESELECT') -- cgit v1.2.3