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-07 11:16:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-07 11:16:01 +0300
commitfe45d789d860ee6d59f5b973d7832237d6d0d269 (patch)
treef54c389c6dab8ae52357ae274b6b8ae33a12695e /io_shape_mdd
parent3b1f9d0501d541ec6ebc7da28a4f39f30096663e (diff)
rename id.update() to update_tag()
Diffstat (limited to 'io_shape_mdd')
-rw-r--r--io_shape_mdd/import_mdd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_shape_mdd/import_mdd.py b/io_shape_mdd/import_mdd.py
index 02be14e9..c0f1d0c3 100644
--- a/io_shape_mdd/import_mdd.py
+++ b/io_shape_mdd/import_mdd.py
@@ -57,7 +57,7 @@ def load(operator, context, filepath, frame_start=0, frame_step=1):
except:
basis = obj.shape_key_add()
basis.name = "Basis"
- obj.data.update()
+ obj.data.update_tag()
scene.frame_current = frame_start
@@ -76,7 +76,7 @@ def load(operator, context, filepath, frame_start=0, frame_step=1):
for v in verts: # 12 is the size of 3 floats
v.co[:] = unpack('>3f', file.read(12))
- #me.update()
+ # me.update_tag()
obj.show_only_shape_key = False
# insert keyframes
@@ -94,7 +94,7 @@ def load(operator, context, filepath, frame_start=0, frame_step=1):
obj.data.shape_keys.keys[index].value = 0.0
shape_keys.keys[len(obj.data.shape_keys.keys) - 1].keyframe_insert("value")
- obj.data.update()
+ obj.data.update_tag()
for i in range(frames):
UpdateMesh(obj, i)