Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-07 11:13:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-07 11:13:28 +0300
commitd272b70ee09be8c949247404c9324cfffc833976 (patch)
tree28a9339ba56e77cebae3ddc61815f1437e34b465 /release/scripts/templates
parentad8c79405ac053bafea606ee954c4324d066d5fa (diff)
rename ID.update() --> update_tag() since this function only tags for updating and scene.update() executes the update.
Diffstat (limited to 'release/scripts/templates')
-rw-r--r--release/scripts/templates/operator_mesh_add.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates/operator_mesh_add.py b/release/scripts/templates/operator_mesh_add.py
index db614f3a74c..856a54f8f33 100644
--- a/release/scripts/templates/operator_mesh_add.py
+++ b/release/scripts/templates/operator_mesh_add.py
@@ -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