Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-03-05 04:35:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-05 04:35:35 +0300
commit3ef6ed4773e8641e631818d732a711247a02277a (patch)
tree007eb683dca1b9580bd4f8e01f410680e31b6643
parentaec5a36c12a3ec1d068adb8270017e509087dff6 (diff)
Fix incorrect identity comparison and logical error with 'or'
-rw-r--r--rigify/rigs/experimental/super_chain.py2
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(