[Bf-blender-cvs] [f440fdec844] blender2.8: Fix operators from W menu for the API changes
Sergey Sharybin
noreply at git.blender.org
Fri Sep 7 16:41:24 CEST 2018
Commit: f440fdec84453a3dec6f6d6cdff594cf825b3d7b
Author: Sergey Sharybin
Date: Fri Sep 7 16:40:54 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBf440fdec84453a3dec6f6d6cdff594cf825b3d7b
Fix operators from W menu for the API changes
===================================================================
M release/scripts/startup/bl_operators/wm.py
===================================================================
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 7e0ec777b4f..b84710a0de0 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -831,7 +831,7 @@ 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.area.header_text_set(text=header_text)
elif 'LEFTMOUSE' == event_type:
item = next(iter(self._values.keys()))
More information about the Bf-blender-cvs
mailing list