bones were not being metaclassed properly so that custom rna prop's couldn't be set.

This commit is contained in:
Campbell Barton
2010-10-11 04:52:40 +00:00
parent fab8deb811
commit 3d3d9bf235
+3 -3
View File
@@ -258,15 +258,15 @@ class _GenericBone:
return bones
class PoseBone(StructRNA, _GenericBone):
class PoseBone(StructRNA, _GenericBone, metaclass=StructMetaIDProp):
__slots__ = ()
class Bone(StructRNA, _GenericBone):
class Bone(StructRNA, _GenericBone, metaclass=StructMetaIDProp):
__slots__ = ()
class EditBone(StructRNA, _GenericBone):
class EditBone(StructRNA, _GenericBone, metaclass=StructMetaIDProp):
__slots__ = ()
def align_orientation(self, other):