diff options
Diffstat (limited to 'release/scripts')
4 files changed, 9 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index b6f77505410..8a520edb70e 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -828,17 +828,17 @@ class WM_OT_context_modal_mouse(Operator): header_text = header_text % eval("item.%s" % self.data_path_item) else: header_text = (self.header_text % delta) + " (delta)" - context.area.header_text_set(header_text) + context.workspace.status_text_set(header_text) elif 'LEFTMOUSE' == event_type: item = next(iter(self._values.keys())) self._values_clear() - context.area.header_text_set() + context.workspace.status_text_set() return operator_value_undo_return(item) elif event_type in {'RIGHTMOUSE', 'ESC'}: self._values_restore() - context.area.header_text_set() + context.workspace.status_text_set() return {'CANCELLED'} return {'RUNNING_MODAL'} diff --git a/release/scripts/startup/bl_ui/space_statusbar.py b/release/scripts/startup/bl_ui/space_statusbar.py index a738eb315e7..b0cfe424d3e 100644 --- a/release/scripts/startup/bl_ui/space_statusbar.py +++ b/release/scripts/startup/bl_ui/space_statusbar.py @@ -39,7 +39,7 @@ class STATUSBAR_HT_header(Header): def draw_left(self, context): layout = self.layout - layout.template_cursor_keymap() + layout.template_input_status() def draw_center(self, context): layout = self.layout 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'} diff --git a/release/scripts/templates_py/operator_modal_view3d.py b/release/scripts/templates_py/operator_modal_view3d.py index c870bbffdcf..ed8d031285d 100644 --- a/release/scripts/templates_py/operator_modal_view3d.py +++ b/release/scripts/templates_py/operator_modal_view3d.py @@ -26,15 +26,15 @@ class ViewOperator(bpy.types.Operator): if event.type == 'MOUSEMOVE': self.offset = (self._initial_mouse - Vector((event.mouse_x, event.mouse_y, 0.0))) * 0.02 self.execute(context) - context.area.header_text_set("Offset %.4f %.4f %.4f" % tuple(self.offset)) + context.workspace.status_text_set("Offset %.4f %.4f %.4f" % tuple(self.offset)) elif event.type == 'LEFTMOUSE': - context.area.header_text_set() + context.workspace.status_text_set() return {'FINISHED'} elif event.type in {'RIGHTMOUSE', 'ESC'}: rv3d.view_location = self._initial_location - context.area.header_text_set() + context.workspace.status_text_set() return {'CANCELLED'} return {'RUNNING_MODAL'} |