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>2014-11-06 23:11:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-11-06 23:11:55 +0300
commitfb2f011fd825e72434ac78a5919edb8f3527bfe8 (patch)
treeed8ad349d6c5cbf1a959202200da58e689c2756f /rigify/rig_ui_template.py
parent0ce975d0802e18cea5d7ec5e2f0536df886e4a2e (diff)
use identity compare for None/True/False
Diffstat (limited to 'rigify/rig_ui_template.py')
-rw-r--r--rigify/rig_ui_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/rig_ui_template.py b/rigify/rig_ui_template.py
index 9e755bb5..c37b9db6 100644
--- a/rigify/rig_ui_template.py
+++ b/rigify/rig_ui_template.py
@@ -103,7 +103,7 @@ def set_pose_translation(pose_bone, mat):
""" Sets the pose bone's translation to the same translation as the given matrix.
Matrix should be given in bone's local space.
"""
- if pose_bone.bone.use_local_location == True:
+ if pose_bone.bone.use_local_location is True:
pose_bone.location = mat.to_translation()
else:
loc = mat.to_translation()