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
parentf1c55295b0d95307559c1f8b09d6b8bd6c8bbbf0 (diff)
Update for changes in Blender's API
-rw-r--r--archipack/archipack_manipulator.py2
-rw-r--r--mesh_carver.py2
-rw-r--r--mesh_extra_tools/mesh_fastloop.py2
-rw-r--r--mesh_extra_tools/mesh_offset_edges.py4
-rw-r--r--mesh_snap_utilities_line.py2
-rw-r--r--oscurart_tools/oscurart_meshes.py2
6 files changed, 7 insertions, 7 deletions
diff --git a/archipack/archipack_manipulator.py b/archipack/archipack_manipulator.py
index 034507d8..44b30b49 100644
--- a/archipack/archipack_manipulator.py
+++ b/archipack/archipack_manipulator.py
@@ -445,7 +445,7 @@ class Manipulator():
ret = False
self.keyboard_cancel(context, event)
pass
- context.area.header_text_set()
+ context.area.header_text_set("")
self.keyboard_input_active = False
self.feedback.disable()
return ret
diff --git a/mesh_carver.py b/mesh_carver.py
index 16308aa4..a9320aa8 100644
--- a/mesh_carver.py
+++ b/mesh_carver.py
@@ -2884,7 +2884,7 @@ class Carver(bpy.types.Operator):
traceback.print_exc()
context.window.cursor_modal_set("DEFAULT")
- context.area.header_text_set()
+ context.area.header_text_set("")
bpy.types.SpaceView3D.draw_handler_remove(self._handle, 'WINDOW')
self.report({'WARNING'},
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
diff --git a/mesh_snap_utilities_line.py b/mesh_snap_utilities_line.py
index 1bbfd4d8..8f2f2a94 100644
--- a/mesh_snap_utilities_line.py
+++ b/mesh_snap_utilities_line.py
@@ -801,7 +801,7 @@ class SnapUtilitiesLine(Operator):
del self.list_verts_co
bpy.types.SpaceView3D.draw_handler_remove(self._handle, 'WINDOW')
- context.area.header_text_set()
+ context.area.header_text_set("")
self.sctx.free()
#restore initial state
diff --git a/oscurart_tools/oscurart_meshes.py b/oscurart_tools/oscurart_meshes.py
index 1dce40f4..7de7e13a 100644
--- a/oscurart_tools/oscurart_meshes.py
+++ b/oscurart_tools/oscurart_meshes.py
@@ -450,7 +450,7 @@ class ModalIndexOperator(Operator):
self.tsize -= 1
elif event.type in {'RIGHTMOUSE', 'ESC', 'TAB'}:
bpy.types.SpaceView3D.draw_handler_remove(self._handle, 'WINDOW')
- context.area.header_text_set()
+ context.area.header_text_set("")
return {'CANCELLED'}
return {'PASS_THROUGH'}