Fix incorrect identity comparison and logical error with 'or'
This commit is contained in:
parent
aec5a36c12
commit
3ef6ed4773
Notes:
blender-bot
2023-02-14 18:07:04 +01:00
Referenced by commit 7861d837: Rigify: fix logical error from3ef6ed4773
Referenced by commit7861d837
, Rigify: fix logical error from3ef6ed4773
|
@ -558,7 +558,7 @@ class Rig:
|
|||
)
|
||||
|
||||
invert_last = True
|
||||
if self.params.wgt_align_axis is not 'y' or '-y':
|
||||
if self.params.wgt_align_axis not in {'y' or '-y'}:
|
||||
invert_last = False
|
||||
|
||||
create_chain_widget(
|
||||
|
|
Loading…
Reference in New Issue