diff options
Diffstat (limited to 'release/scripts/templates_py/manipulator_custom_geometry.py')
-rw-r--r-- | release/scripts/templates_py/manipulator_custom_geometry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/templates_py/manipulator_custom_geometry.py b/release/scripts/templates_py/manipulator_custom_geometry.py index 48bb6956f85..7ebd864e69f 100644 --- a/release/scripts/templates_py/manipulator_custom_geometry.py +++ b/release/scripts/templates_py/manipulator_custom_geometry.py @@ -96,7 +96,7 @@ class MyCustomShapeWidget(Manipulator): return {'RUNNING_MODAL'} def exit(self, context, cancel): - context.area.header_text_set() + context.workspace.status_text_set() if cancel: self.target_set_value("offset", self.init_value) @@ -108,7 +108,7 @@ class MyCustomShapeWidget(Manipulator): delta /= 10.0 value = self.init_value + delta self.target_set_value("offset", value) - context.area.header_text_set("My Manipulator: %.4f" % value) + context.workspace.status_text_set("My Manipulator: %.4f" % value) return {'RUNNING_MODAL'} |