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:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-09-15 11:30:26 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-09-15 11:30:39 +0300
commit9a9923dd278703f05206037a31b4226b337d8448 (patch)
treefc6cca9917b86bc7eaa260ed41b4206caf4abbe8 /rigify/rigs/limbs
parentf31572ecd2ef3b0cb08c175ed8343a97af01dc9c (diff)
Rigify: replace deprecated use_inherit_scale and use_offset properties.
Diffstat (limited to 'rigify/rigs/limbs')
-rw-r--r--rigify/rigs/limbs/simple_tentacle.py2
-rw-r--r--rigify/rigs/limbs/super_palm.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/rigify/rigs/limbs/simple_tentacle.py b/rigify/rigs/limbs/simple_tentacle.py
index ea5a2224..10bdd2b5 100644
--- a/rigify/rigs/limbs/simple_tentacle.py
+++ b/rigify/rigs/limbs/simple_tentacle.py
@@ -74,7 +74,7 @@ class Rig(TweakChainRig):
self.make_constraint(
ctrl, 'COPY_ROTATION', prev_ctrl,
use_xyz=self.copy_rotation_axes,
- space='LOCAL', use_offset=True
+ space='LOCAL', mix_mode='BEFORE',
)
# Widgets
diff --git a/rigify/rigs/limbs/super_palm.py b/rigify/rigs/limbs/super_palm.py
index 127d9d0c..8cde6648 100644
--- a/rigify/rigs/limbs/super_palm.py
+++ b/rigify/rigs/limbs/super_palm.py
@@ -110,7 +110,7 @@ class Rig:
# turn off inherit scale for all ORG-bones to prevent undesired transformations
for o in self.org_bones:
- eb[o].use_inherit_scale = False
+ eb[o].inherit_scale = 'NONE'
for d, b in zip(def_bones, self.org_bones):
eb[d].use_connect = False