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 /animation_add_corrective_shape_key.py
parent3b1f9d0501d541ec6ebc7da28a4f39f30096663e (diff)
rename id.update() to update_tag()
Diffstat (limited to 'animation_add_corrective_shape_key.py')
-rw-r--r--animation_add_corrective_shape_key.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/animation_add_corrective_shape_key.py b/animation_add_corrective_shape_key.py
index 49967b10..bf07145b 100644
--- a/animation_add_corrective_shape_key.py
+++ b/animation_add_corrective_shape_key.py
@@ -121,7 +121,7 @@ def applyX(ob, mesh, x ):
v = mesh[i]
v.co = x[i]
- ob.data.update()
+ ob.data.update_tag()
return x
@@ -141,7 +141,7 @@ def func_add_corrective_pose_shape( source, target):
except:
basis = ob_1.shape_key_add()
basis.name = "Basis"
- ob_1.data.update()
+ ob_1.data.update_tag()
key_index = ob_1.active_shape_key_index
@@ -212,7 +212,7 @@ def func_add_corrective_pose_shape( source, target):
# set the new shape key value to 1.0, so we see the result instantly
ob_1.active_shape_key.value = 1.0
- #mesh_1.update()
+ #mesh_1.update_tag()
ob_1.show_only_shape_key = False
@@ -387,7 +387,7 @@ def func_add_corrective_pose_shape_fast(source, target):
except:
basis = target.shape_key_add()
basis.name = "Basis"
- target.data.update()
+ target.data.update_tag()
key_index = target.active_shape_key_index
@@ -440,7 +440,7 @@ def func_add_corrective_pose_shape_fast(source, target):
pass
target.show_only_shape_key = False
- target.data.update()
+ target.data.update_tag()