diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-06 23:11:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-06 23:11:55 +0300 |
commit | fb2f011fd825e72434ac78a5919edb8f3527bfe8 (patch) | |
tree | ed8ad349d6c5cbf1a959202200da58e689c2756f /rigify/ui.py | |
parent | 0ce975d0802e18cea5d7ec5e2f0536df886e4a2e (diff) |
use identity compare for None/True/False
Diffstat (limited to 'rigify/ui.py')
-rw-r--r-- | rigify/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/ui.py b/rigify/ui.py index a65703c0..59955957 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -206,7 +206,7 @@ class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel): def draw(self, context): obj = context.active_object - if obj != None: + if obj is not None: if context.mode == 'EDIT_ARMATURE': r = self.layout.row() r.operator("armature.rigify_encode_metarig", text="Encode Metarig to Python") |