File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -299,11 +299,17 @@ def aggregate_ctrls(self):
299
299
300
300
def assign_layers (self ):
301
301
302
+ top_main = self .get_ctrl_by_index (strip_org (self .mouth_bones ['top' ][0 ]), 0 )
303
+ corner_1 = self .get_ctrl_by_index (strip_org (self .mouth_bones ['top' ][0 ]), - 1 )
304
+ corner_2 = self .get_ctrl_by_index (strip_org (self .mouth_bones ['top' ][1 ]), - 1 )
305
+ bottom_main = self .get_ctrl_by_index (strip_org (self .mouth_bones ['bottom' ][0 ]), 0 )
306
+
302
307
primary_ctrls = []
303
- primary_ctrls .extend (self .bones ['ctrl' ][strip_org (self .mouth_bones ['top' ][0 ])])
304
- primary_ctrls .extend (self .bones ['ctrl' ][strip_org (self .mouth_bones ['top' ][1 ])])
305
- primary_ctrls .extend (self .bones ['ctrl' ][strip_org (self .mouth_bones ['bottom' ][0 ])])
306
- primary_ctrls .extend (self .bones ['ctrl' ][strip_org (self .mouth_bones ['bottom' ][1 ])])
308
+ primary_ctrls .append (top_main )
309
+ primary_ctrls .append (corner_1 )
310
+ primary_ctrls .append (corner_2 )
311
+ primary_ctrls .append (bottom_main )
312
+ primary_ctrls .append (self .bones ['jaw_ctrl' ]['jaw' ])
307
313
308
314
all_ctrls = self .control_snapper .flatten (self .bones ['ctrl' ])
309
315
self .layer_generator .assign_layer (primary_ctrls , all_ctrls )
You can’t perform that action at this time.
0 commit comments