diff options
Diffstat (limited to 'release/scripts/templates_py/manipulator_simple.py')
-rw-r--r-- | release/scripts/templates_py/manipulator_simple.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/templates_py/manipulator_simple.py b/release/scripts/templates_py/manipulator_simple.py index 7e02940d527..8ddb870cd13 100644 --- a/release/scripts/templates_py/manipulator_simple.py +++ b/release/scripts/templates_py/manipulator_simple.py @@ -9,6 +9,7 @@ from bpy.types import ( ManipulatorGroup, ) + class MyLampWidgetGroup(ManipulatorGroup): bl_idname = "OBJECT_WGT_lamp_test" bl_label = "Test Lamp Widget" @@ -42,4 +43,5 @@ class MyLampWidgetGroup(ManipulatorGroup): mpr = self.energy_widget mpr.matrix_basis = ob.matrix_world.normalized() + bpy.utils.register_class(MyLampWidgetGroup) |