Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-07 23:26:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-07 23:26:36 +0300
commit8c8e408a42faa4b16f2420a3e108647c4d24297a (patch)
tree67eab44a20e1b5dc69567ccd7188efc1d7ce67e5 /mesh_extra_tools
parentf1c55295b0d95307559c1f8b09d6b8bd6c8bbbf0 (diff)
Update for changes in Blender's API
Diffstat (limited to 'mesh_extra_tools')
-rw-r--r--mesh_extra_tools/mesh_fastloop.py2
-rw-r--r--mesh_extra_tools/mesh_offset_edges.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/mesh_extra_tools/mesh_fastloop.py b/mesh_extra_tools/mesh_fastloop.py
index b713d481..8e56f7d6 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("")
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 2168e76c..19eccd3b 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("")
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("")
def invoke(self, context, event):
# In edit mode