[Bf-extensions-cvs] [bb3f0cb] blender-v2.78-release: minor fix: ORG-teeth.T/B copy_transform to teeth.T/B

Lucio Rossi noreply at git.blender.org
Wed Oct 19 14:43:07 CEST 2016


Commit: bb3f0cb2532ccb07f5d3a8cf99a2fae498ce0c01
Author: Lucio Rossi
Date:   Wed Oct 12 20:08:56 2016 +0200
Branches: blender-v2.78-release
https://developer.blender.org/rBAbb3f0cb2532ccb07f5d3a8cf99a2fae498ce0c01

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