diff options
Diffstat (limited to 'release/scripts/templates_py/manipulator_operator_target.py')
-rw-r--r-- | release/scripts/templates_py/manipulator_operator_target.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/templates_py/manipulator_operator_target.py b/release/scripts/templates_py/manipulator_operator_target.py index 0abf6f2f654..ba53b5e10ff 100644 --- a/release/scripts/templates_py/manipulator_operator_target.py +++ b/release/scripts/templates_py/manipulator_operator_target.py @@ -8,6 +8,7 @@ from bpy.types import ( ManipulatorGroup, ) + class MyCameraWidgetGroup(ManipulatorGroup): bl_idname = "OBJECT_WGT_test_camera" bl_label = "Object Camera Test Widget" @@ -45,4 +46,5 @@ class MyCameraWidgetGroup(ManipulatorGroup): mpr = self.roll_widget mpr.matrix_basis = ob.matrix_world.normalized() + bpy.utils.register_class(MyCameraWidgetGroup) |