From 9ec8887599b1c14dac47cca1a073fa50b333d5ee Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 28 Jun 2019 17:35:40 +1000 Subject: Fix invalid area tool being set from message passing This wasn't working with multiple windows, WM_toolsystem_do_msg_notify_tag_refresh could use a workspace from a different window to the screen that owned the area. Instead of fixing, remove these since they aren't needed anymore since changing modes now refreshes the tool system. --- source/blender/windowmanager/WM_toolsystem.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender/windowmanager/WM_toolsystem.h') diff --git a/source/blender/windowmanager/WM_toolsystem.h b/source/blender/windowmanager/WM_toolsystem.h index 5afa0a88560..4d4cb95ec1c 100644 --- a/source/blender/windowmanager/WM_toolsystem.h +++ b/source/blender/windowmanager/WM_toolsystem.h @@ -99,10 +99,6 @@ void WM_toolsystem_update_from_context(struct bContext *C, bool WM_toolsystem_active_tool_is_brush(const struct bContext *C); -void WM_toolsystem_do_msg_notify_tag_refresh(struct bContext *C, - struct wmMsgSubscribeKey *msg_key, - struct wmMsgSubscribeValue *msg_val); - struct IDProperty *WM_toolsystem_ref_properties_ensure_idprops(struct bToolRef *tref); void WM_toolsystem_ref_properties_ensure_ex(struct bToolRef *tref, const char *idname, -- cgit v1.2.3