rename ID.update() --> update_tag() since this function only tags for updating and scene.update() executes the update.

This commit is contained in:
Campbell Barton
2011-02-07 08:13:28 +00:00
parent ad8c79405a
commit d272b70ee0
6 changed files with 7 additions and 7 deletions

View File

@@ -77,7 +77,7 @@ class AddBox(bpy.types.Operator):
mesh.vertices.foreach_set("co", verts_loc)
mesh.faces.foreach_set("vertices_raw", faces)
mesh.update()
mesh.update_tag()
# add the mesh as an object into the scene with this utility module
import add_object_utils