diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 03:11:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 03:11:17 +0300 |
commit | fb8c135584292ddb8ddb7fe5060cac8f941100e2 (patch) | |
tree | b379555e39eabedb5db83d581063cb0a98d7c837 /release/scripts/io | |
parent | 8fd81ab9e61e29aad78ebe3bcc6cc8741219f629 (diff) |
minor python register changes.
- KeyingSetInfo classes are now collected like Panels, Operators etc so bpy.utils.register_module() can be used.
- move bpy.types.register() to bpy.utils.register_class
Diffstat (limited to 'release/scripts/io')
-rw-r--r-- | release/scripts/io/netrender/ui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/io/netrender/ui.py b/release/scripts/io/netrender/ui.py index 1583dee427f..343c60e7865 100644 --- a/release/scripts/io/netrender/ui.py +++ b/release/scripts/io/netrender/ui.py @@ -374,9 +374,9 @@ def addProperties(): class NetRenderJob(bpy.types.IDPropertyGroup): pass - bpy.types.register(NetRenderSettings) - bpy.types.register(NetRenderSlave) - bpy.types.register(NetRenderJob) + bpy.utils.register_class(NetRenderSettings) + bpy.utils.register_class(NetRenderSlave) + bpy.utils.register_class(NetRenderJob) from bpy.props import PointerProperty, StringProperty, BoolProperty, EnumProperty, IntProperty, CollectionProperty bpy.types.Scene.network_render = PointerProperty(type=NetRenderSettings, name="Network Render", description="Network Render Settings") |