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_solid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add_mesh_solid.py') diff --git a/add_mesh_solid.py b/add_mesh_solid.py index 8e9c35f7..5bf08128 100644 --- a/add_mesh_solid.py +++ b/add_mesh_solid.py @@ -55,7 +55,7 @@ def create_mesh_object(context, verts, edges, faces, name): mesh.from_pydata(verts, edges, faces) # Update mesh geometry after adding stuff. - mesh.update_tag() + mesh.update() import add_object_utils return add_object_utils.object_data_add(context, mesh, operator=None) -- cgit v1.2.3