diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-05 04:35:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-05 04:35:35 +0300 |
commit | 3ef6ed4773e8641e631818d732a711247a02277a (patch) | |
tree | 007eb683dca1b9580bd4f8e01f410680e31b6643 /rigify/rigs/experimental | |
parent | aec5a36c12a3ec1d068adb8270017e509087dff6 (diff) |
Fix incorrect identity comparison and logical error with 'or'
Diffstat (limited to 'rigify/rigs/experimental')
-rw-r--r-- | rigify/rigs/experimental/super_chain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/rigs/experimental/super_chain.py b/rigify/rigs/experimental/super_chain.py index 3f7ca5d6..346c16b8 100644 --- a/rigify/rigs/experimental/super_chain.py +++ b/rigify/rigs/experimental/super_chain.py @@ -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( |