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-03-26 11:45:49 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-03-26 11:51:22 +0300
commit123c42df69d8d624b5382e1e3dea263beb800237 (patch)
tree5dc732c02c10caca18d1023415323d0757e90a63 /rigify/rigs/faces/super_face.py
parentd78f3972f5e7445f1c5f5bf84831dddb1069a0f6 (diff)
Rigify: partial revert "Update for changes to Blender"
This reverts unnecessary renaming from b2b015a396372.
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 fb5a33e7..7e36ce68 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_context_menu = {
+ def_specials = {
# '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_context_menu:
- if def_context_menu[bone] is not None:
- self.make_constraits('def_tweak', bone, def_context_menu[bone] )
+ if bone in def_specials:
+ if def_specials[bone] is not None:
+ self.make_constraits('def_tweak', bone, def_specials[bone] )
else:
matches = re.match( pattern, bone ).groups()
if len( matches ) > 1 and matches[-1]: