[Bf-extensions-cvs] [3d8df61] master: minor fix: ORG-teeth.T/B copy_transform to teeth.T/B

Lucio Rossi noreply at git.blender.org
Wed Oct 12 20:10:25 CEST 2016


Commit: 3d8df6195de4062b60783c6c7791904a5f0087a3
Author: Lucio Rossi
Date:   Wed Oct 12 20:08:56 2016 +0200
Branches: master
https://developer.blender.org/rBA3d8df6195de4062b60783c6c7791904a5f0087a3

minor fix: ORG-teeth.T/B copy_transform to teeth.T/B

===================================================================

M	rigify/rigs/pitchipoy/super_face.py

===================================================================

diff --git a/rigify/rigs/pitchipoy/super_face.py b/rigify/rigs/pitchipoy/super_face.py
old mode 100644
new mode 100755
index bce972d..6ed7eba
--- a/rigify/rigs/pitchipoy/super_face.py
+++ b/rigify/rigs/pitchipoy/super_face.py
@@ -675,6 +675,13 @@ class Rig:
             const.target    = self.obj
             const.subtarget = subtarget
             const.influence = influence
+
+        elif constraint_type == 'teeth':
+
+            const = owner_pb.constraints.new( 'COPY_TRANSFORMS' )
+            const.target    = self.obj
+            const.subtarget = subtarget
+            const.influence = influence
         
         elif constraint_type == 'tweak_copyloc':
         
@@ -816,7 +823,10 @@ class Rig:
         self.make_constraits( 'mch_jaw_master', 'MCH-jaw_master.002', 'jaw_master', 0.35  )
         self.make_constraits( 'mch_jaw_master', 'MCH-jaw_master.003', 'jaw_master', 0.10  )
         self.make_constraits( 'mch_jaw_master', 'MCH-jaw_master.004', 'jaw_master', 0.025 )
-        
+
+        self.make_constraits( 'teeth', 'ORG-teeth.T', 'teeth.T', 1.00 )
+        self.make_constraits( 'teeth', 'ORG-teeth.B', 'teeth.B', 1.00 )
+
         for bone in all_bones['mch']['jaw'][1:-1]:
             self.make_constraits( 'mch_jaw_master', bone, 'MCH-mouth_lock' )



More information about the Bf-extensions-cvs mailing list