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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-12 12:53:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-12 12:53:09 +0300
commit5908a1b373c530009463d2e1d74d293079fdddc6 (patch)
treed23ce47d31bffec8b76c9a960e8088d1ea487dfe
parent9421fec4db299927dc8c14aa14f5accca773231e (diff)
correct for changes in svn.
-rw-r--r--modules/add_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/add_utils.py b/modules/add_utils.py
index bc54abc6..27fc9d6d 100644
--- a/modules/add_utils.py
+++ b/modules/add_utils.py
@@ -82,7 +82,7 @@ def add_object_data(context, obdata, operator=None):
ob.select = False
obj_new = bpy.data.objects.new(obdata.name, obdata)
- obj_new.update()
+ obj_new.update_tag()
base = scene.objects.link(obj_new)
base.select = True