diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-29 07:54:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-29 07:54:27 +0400 |
commit | 1d838454afb884cf7b288afc7b6915c779230ecb (patch) | |
tree | a8d433cd705f8f3b47e3bb272daccea320f66dba /rigify/rigs/biped/arm/fk.py | |
parent | 0fcd2037beda8c2ce5fbd29700b1fc5545a29d28 (diff) |
use identity comparison with None (as suggested by python)
Diffstat (limited to 'rigify/rigs/biped/arm/fk.py')
-rw-r--r-- | rigify/rigs/biped/arm/fk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/rigs/biped/arm/fk.py b/rigify/rigs/biped/arm/fk.py index 20ba89f2..77dcc6a6 100644 --- a/rigify/rigs/biped/arm/fk.py +++ b/rigify/rigs/biped/arm/fk.py @@ -49,7 +49,7 @@ class Rig: raise MetarigError("RIGIFY ERROR: Bone '%s': input to rig type must be a chain of 3 bones." % (strip_org(bone))) # Get (optional) parent - if self.obj.data.bones[bone].parent == None: + if self.obj.data.bones[bone].parent is None: self.org_parent = None else: self.org_parent = self.obj.data.bones[bone].parent.name |