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>2016-07-20 20:52:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-07-20 20:52:13 +0300
commit3c23caa4c0b31b9908a43737369b715915a8fe62 (patch)
treeadfc4dadb935d76f868ca4f516c64b1a48ebe3a5 /rigify/rigs/palm.py
parentc16bac5b9e1f3543ff35b5df5bff0f27b6c19ea0 (diff)
Cleanup: use identity for None comparisons
Diffstat (limited to 'rigify/rigs/palm.py')
-rw-r--r--rigify/rigs/palm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/rigs/palm.py b/rigify/rigs/palm.py
index f5568210..6bcaad11 100644
--- a/rigify/rigs/palm.py
+++ b/rigify/rigs/palm.py
@@ -146,7 +146,7 @@ class Rig:
# Create control widget
w = create_widget(self.obj, ctrl)
- if w != None:
+ if w is not None:
mesh = w.data
verts = [(0.15780271589756012, 2.086162567138672e-07, -0.30000004172325134), (0.15780259668827057, 1.0, -0.2000001072883606), (-0.15780280530452728, 0.9999999403953552, -0.20000004768371582), (-0.15780259668827057, -2.086162567138672e-07, -0.29999998211860657), (-0.15780256688594818, -2.7089754439657554e-07, 0.30000004172325134), (-0.1578027755022049, 0.9999998807907104, 0.19999995827674866), (0.15780262649059296, 0.9999999403953552, 0.19999989867210388), (0.1578027456998825, 1.4633496903115883e-07, 0.29999998211860657), (0.15780268609523773, 0.2500001788139343, -0.27500003576278687), (-0.15780264139175415, 0.24999985098838806, -0.2749999761581421), (0.15780262649059296, 0.7500000596046448, -0.22500008344650269), (-0.1578027606010437, 0.7499998807907104, -0.2250000238418579), (0.15780265629291534, 0.75, 0.22499991953372955), (0.15780271589756012, 0.2500000596046448, 0.2749999761581421), (-0.15780261158943176, 0.2499997615814209, 0.27500003576278687), (-0.1578027307987213, 0.7499998807907104, 0.22499997913837433)]
if 'Z' in self.palm_rotation_axis: