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/templates/builtin_keyingset.py | |
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/templates/builtin_keyingset.py')
-rw-r--r-- | release/scripts/templates/builtin_keyingset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates/builtin_keyingset.py b/release/scripts/templates/builtin_keyingset.py index 799f305d8b4..715b77d3dbd 100644 --- a/release/scripts/templates/builtin_keyingset.py +++ b/release/scripts/templates/builtin_keyingset.py @@ -26,4 +26,4 @@ class BUILTIN_KSI_hello(bpy.types.KeyingSetInfo): ks.paths.add(id_block, "show_x_ray", group_method='NONE') # manually register -bpy.types.register(BUILTIN_KSI_hello) +bpy.utils.register_class(BUILTIN_KSI_hello) |