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>2019-03-12 03:05:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-12 03:05:44 +0300
commitb2b015a396372e39a7035f394f06405b68423fed (patch)
treed198df235a4a2156a2b869218e7238e16e857838 /rigify/rigs/faces/super_face.py
parentc7f6ef3fef1315e97fd7326c08b7c7ad7b82762a (diff)
Update for changes to Blender
Diffstat (limited to 'rigify/rigs/faces/super_face.py')
-rw-r--r--rigify/rigs/faces/super_face.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rigify/rigs/faces/super_face.py b/rigify/rigs/faces/super_face.py
index b899c0b2..c097cbb9 100644
--- a/rigify/rigs/faces/super_face.py
+++ b/rigify/rigs/faces/super_face.py
@@ -750,7 +750,7 @@ class Rig:
def constraints( self, all_bones ):
## Def bone constraints
- def_specials = {
+ def_context_menu = {
# 'bone' : 'target'
'DEF-jaw' : 'chin',
'DEF-chin.L' : 'lips.L',
@@ -788,9 +788,9 @@ class Rig:
pattern = r'^DEF-(\w+\.?\w?\.?\w?)(\.?)(\d*?)(\d?)$'
for bone in [ bone for bone in all_bones['deform']['all'] if 'lid' not in bone ]:
- if bone in def_specials:
- if def_specials[bone] is not None:
- self.make_constraits('def_tweak', bone, def_specials[bone] )
+ if bone in def_context_menu:
+ if def_context_menu[bone] is not None:
+ self.make_constraits('def_tweak', bone, def_context_menu[bone] )
else:
matches = re.match( pattern, bone ).groups()
if len( matches ) > 1 and matches[-1]: