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-09 00:36:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-09 00:36:44 +0300
commitc05f4813b650b8b4d45c172c549947e562bf71aa (patch)
tree6f9a4887882a35da09fe6998bbcb318426cb4877 /rigify/rigs
parentcf8e2d201c86bfd6e8dc5817c8b6748787fd2182 (diff)
incorrectly switched mesh.update() --> mesh.update_tag(),
update_tag() tags for depsgraph update only, update() executes normal recalculation and creates edge data.
Diffstat (limited to 'rigify/rigs')
-rw-r--r--rigify/rigs/biped/arm/fk.py2
-rw-r--r--rigify/rigs/biped/arm/ik.py2
-rw-r--r--rigify/rigs/biped/leg/fk.py2
-rw-r--r--rigify/rigs/biped/leg/ik.py4
-rw-r--r--rigify/rigs/finger.py2
-rw-r--r--rigify/rigs/palm.py2
6 files changed, 7 insertions, 7 deletions
diff --git a/rigify/rigs/biped/arm/fk.py b/rigify/rigs/biped/arm/fk.py
index 6cd8255f..20ba89f2 100644
--- a/rigify/rigs/biped/arm/fk.py
+++ b/rigify/rigs/biped/arm/fk.py
@@ -199,7 +199,7 @@ class Rig:
edges = [(1, 2), (0, 3), (0, 4), (3, 5), (4, 6), (1, 6), (5, 7), (2, 7)]
mesh = ob.data
mesh.from_pydata(verts, edges, [])
- mesh.update_tag()
+ mesh.update()
mod = ob.modifiers.new("subsurf", 'SUBSURF')
mod.levels = 2
diff --git a/rigify/rigs/biped/arm/ik.py b/rigify/rigs/biped/arm/ik.py
index 0824daca..2b941b9e 100644
--- a/rigify/rigs/biped/arm/ik.py
+++ b/rigify/rigs/biped/arm/ik.py
@@ -298,7 +298,7 @@ class Rig:
edges = [(1, 2), (0, 3), (0, 4), (3, 5), (4, 6), (1, 6), (5, 7), (2, 7)]
mesh = ob.data
mesh.from_pydata(verts, edges, [])
- mesh.update_tag()
+ mesh.update()
mod = ob.modifiers.new("subsurf", 'SUBSURF')
mod.levels = 2
diff --git a/rigify/rigs/biped/leg/fk.py b/rigify/rigs/biped/leg/fk.py
index 8ed7e435..a212d445 100644
--- a/rigify/rigs/biped/leg/fk.py
+++ b/rigify/rigs/biped/leg/fk.py
@@ -237,7 +237,7 @@ class Rig:
edges = [(1, 2), (0, 3), (0, 4), (3, 5), (4, 6), (1, 6), (5, 7), (2, 7)]
mesh = ob.data
mesh.from_pydata(verts, edges, [])
- mesh.update_tag()
+ mesh.update()
mod = ob.modifiers.new("subsurf", 'SUBSURF')
mod.levels = 2
diff --git a/rigify/rigs/biped/leg/ik.py b/rigify/rigs/biped/leg/ik.py
index 0505c2dc..a04b57dc 100644
--- a/rigify/rigs/biped/leg/ik.py
+++ b/rigify/rigs/biped/leg/ik.py
@@ -500,7 +500,7 @@ class Rig:
edges = [(1, 2), (0, 3), (0, 4), (3, 5), (4, 6), (1, 6), (5, 7), (2, 7)]
mesh = ob.data
mesh.from_pydata(verts, edges, [])
- mesh.update_tag()
+ mesh.update()
mod = ob.modifiers.new("subsurf", 'SUBSURF')
mod.levels = 2
@@ -511,7 +511,7 @@ class Rig:
edges = [(1, 2), (0, 3), (0, 4), (3, 5), (1, 6), (4, 6), (2, 7), (5, 7)]
mesh = ob.data
mesh.from_pydata(verts, edges, [])
- mesh.update_tag()
+ mesh.update()
mod = ob.modifiers.new("subsurf", 'SUBSURF')
mod.levels = 2
diff --git a/rigify/rigs/finger.py b/rigify/rigs/finger.py
index 298e9431..f5788d02 100644
--- a/rigify/rigs/finger.py
+++ b/rigify/rigs/finger.py
@@ -261,7 +261,7 @@ class Rig:
verts = temp
edges = [(0, 1), (1, 2), (2, 3), (3, 4), (4, 5), (5, 1)]
mesh.from_pydata(verts, edges, [])
- mesh.update_tag()
+ mesh.update()
for bone in bones:
create_limb_widget(self.obj, bone)
diff --git a/rigify/rigs/palm.py b/rigify/rigs/palm.py
index cec4bde0..5a0fa773 100644
--- a/rigify/rigs/palm.py
+++ b/rigify/rigs/palm.py
@@ -153,7 +153,7 @@ class Rig:
verts = temp
edges = [(1, 2), (0, 3), (4, 7), (5, 6), (8, 0), (9, 3), (10, 1), (11, 2), (12, 6), (13, 7), (4, 14), (15, 5), (10, 8), (11, 9), (15, 14), (12, 13)]
mesh.from_pydata(verts, edges, [])
- mesh.update_tag()
+ mesh.update()
mod = w.modifiers.new("subsurf", 'SUBSURF')
mod.levels = 2