diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-16 05:51:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-16 05:51:56 +0300 |
commit | 4c35d8d5a810f3190315b641610e2a55c54c3b51 (patch) | |
tree | 29e7c19ad0388d0c1d46632e2212fe36a80bf174 /release | |
parent | fee5363912d93f3ef99f3a012f5d3d3f29abe8db (diff) |
rename IDPropertyGroup to PropertyGroup
also renamed IDProperty to PropertyGroupItem (these are not referenced for common usage and we already have 'Property' defined).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/io/netrender/ui.py | 6 | ||||
-rw-r--r-- | release/scripts/modules/bpy_types.py | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/release/scripts/io/netrender/ui.py b/release/scripts/io/netrender/ui.py index 343c60e7865..5894ff691be 100644 --- a/release/scripts/io/netrender/ui.py +++ b/release/scripts/io/netrender/ui.py @@ -365,13 +365,13 @@ class RENDER_PT_network_output(NeedValidAddress, NetRenderButtonsPanel, bpy.type def addProperties(): - class NetRenderSettings(bpy.types.IDPropertyGroup): + class NetRenderSettings(bpy.types.PropertyGroup): pass - class NetRenderSlave(bpy.types.IDPropertyGroup): + class NetRenderSlave(bpy.types.PropertyGroup): pass - class NetRenderJob(bpy.types.IDPropertyGroup): + class NetRenderJob(bpy.types.PropertyGroup): pass bpy.utils.register_class(NetRenderSettings) diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 38dc037a61d..bfe7d17fb3a 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -23,7 +23,7 @@ import _bpy from mathutils import Vector StructRNA = bpy_types.Struct.__bases__[0] -StructMetaIDProp = _bpy.StructMetaIDProp +StructMetaPropGroup = _bpy.StructMetaPropGroup # StructRNA = bpy_types.Struct @@ -258,15 +258,15 @@ class _GenericBone: return bones -class PoseBone(StructRNA, _GenericBone, metaclass=StructMetaIDProp): +class PoseBone(StructRNA, _GenericBone, metaclass=StructMetaPropGroup): __slots__ = () -class Bone(StructRNA, _GenericBone, metaclass=StructMetaIDProp): +class Bone(StructRNA, _GenericBone, metaclass=StructMetaPropGroup): __slots__ = () -class EditBone(StructRNA, _GenericBone, metaclass=StructMetaIDProp): +class EditBone(StructRNA, _GenericBone, metaclass=StructMetaPropGroup): __slots__ = () def align_orientation(self, other): @@ -579,7 +579,7 @@ class RNAMeta(type): import collections -class RNAMetaIDProp(RNAMeta, StructMetaIDProp): +class RNAMetaPropGroup(RNAMeta, StructMetaPropGroup): pass @@ -637,7 +637,7 @@ class Macro(StructRNA, metaclass=OrderedMeta): return ops.macro_define(self, opname) -class IDPropertyGroup(StructRNA, metaclass=RNAMetaIDProp): +class PropertyGroup(StructRNA, metaclass=RNAMetaPropGroup): __slots__ = () |