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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-11-28 05:41:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-28 05:41:36 +0300
commitdcf0860dabf326e3a4b37ae15baae491e661cbf8 (patch)
treed922c5698ee58ae5153545798ebaaf4957803b98 /source/blender/windowmanager/WM_toolsystem.h
parent54295369049f9004cce6d8ccacaeda3a52e59a68 (diff)
Fix tool not being initialized switching windows
Diffstat (limited to 'source/blender/windowmanager/WM_toolsystem.h')
-rw-r--r--source/blender/windowmanager/WM_toolsystem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/WM_toolsystem.h b/source/blender/windowmanager/WM_toolsystem.h
index 9b056ddcae6..4318179c203 100644
--- a/source/blender/windowmanager/WM_toolsystem.h
+++ b/source/blender/windowmanager/WM_toolsystem.h
@@ -86,11 +86,11 @@ int WM_toolsystem_mode_from_spacetype(
struct ViewLayer *view_layer, struct ScrArea *sa, int space_type);
bool WM_toolsystem_key_from_context(
struct ViewLayer *view_layer, struct ScrArea *sa, bToolKey *tkey);
-void WM_toolsystem_update_from_context(
- struct bContext *C,
- struct WorkSpace *workspace, struct Scene *scene, struct ScrArea *sa);
void WM_toolsystem_update_from_context_view3d(struct bContext *C);
+void WM_toolsystem_update_from_context(
+ struct bContext *C, struct WorkSpace *workspace, struct ViewLayer *view_layer,
+ struct ScrArea *sa);
bool WM_toolsystem_active_tool_is_brush(const struct bContext *C);