diff options
author | Lucio Rossi <lucio.rossi75@gmail.com> | 2016-10-12 21:08:56 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-10-19 15:42:29 +0300 |
commit | bb3f0cb2532ccb07f5d3a8cf99a2fae498ce0c01 (patch) | |
tree | c582510dd2c7b8bb1304824b5598ab4b50a5922d | |
parent | 8df8fb0342874b2c76c488df081c34d57f17c643 (diff) |
minor fix: ORG-teeth.T/B copy_transform to teeth.T/B
-rwxr-xr-x[-rw-r--r--] | rigify/rigs/pitchipoy/super_face.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/rigify/rigs/pitchipoy/super_face.py b/rigify/rigs/pitchipoy/super_face.py index bce972da..6ed7eba0 100644..100755 --- 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' ) |