diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 08:24:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 08:24:33 +0300 |
commit | 20db1e1d436f445066491e0cee389646108a401b (patch) | |
tree | 0ea548b3043434ac46b83c6d46e911bb39b98264 /mesh_extra_tools | |
parent | 296002e6a3caa54aa9b8cd0b60223a91a0d68983 (diff) |
Update for 'header_text_set' change in 2.8
Diffstat (limited to 'mesh_extra_tools')
-rw-r--r-- | mesh_extra_tools/mesh_fastloop.py | 2 | ||||
-rw-r--r-- | mesh_extra_tools/mesh_offset_edges.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mesh_extra_tools/mesh_fastloop.py b/mesh_extra_tools/mesh_fastloop.py index 61e9b0d2..0bfcc405 100644 --- a/mesh_extra_tools/mesh_fastloop.py +++ b/mesh_extra_tools/mesh_fastloop.py @@ -79,7 +79,7 @@ class OBJECT_OT_FastLoop(Operator): def modal(self, context, event): if event.type == 'ESC': - context.area.header_text_set("") + context.area.header_text_set(None) return {'CANCELLED'} elif event.type == 'LEFTMOUSE' and event.value == 'RELEASE': diff --git a/mesh_extra_tools/mesh_offset_edges.py b/mesh_extra_tools/mesh_offset_edges.py index 19eccd3b..e92c5430 100644 --- a/mesh_extra_tools/mesh_offset_edges.py +++ b/mesh_extra_tools/mesh_offset_edges.py @@ -786,7 +786,7 @@ class OffsetEdges(Operator): def restore_original_and_free(self, context): self.caches_valid = False # Make caches invalid - context.area.header_text_set("") + context.area.header_text_set(None) me = context.edit_object.data bpy.ops.object.mode_set(mode="OBJECT") @@ -794,7 +794,7 @@ class OffsetEdges(Operator): bpy.ops.object.mode_set(mode="EDIT") self._bm_orig.free() - context.area.header_text_set("") + context.area.header_text_set(None) def invoke(self, context, event): # In edit mode |