own dumb mistake missing a return

This commit is contained in:
2007-08-24 11:57:26 +00:00
parent 45cbafe08d
commit bba7506598

View File

@@ -10,7 +10,7 @@ def getObjectArmature(ob):
arm = ob.parent
if arm and arm.type == 'Armature' and ob.parentType == Blender.Object.ParentTypes.ARMATURE:
arm
return arm
for m in ob.modifiers:
if m.type== Blender.Modifier.Types.ARMATURE: