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-07 00:42:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-07 00:43:56 +0300
commitfb932bb52a65c147689f5940aa0f347066ba0547 (patch)
tree700b721559370d073ca83324400bc2415f91b797 /source/blender/windowmanager/WM_toolsystem.h
parent150864dfb95c7b39dfd491805156599609ab3e2a (diff)
Cleanup: use BKE_brush_tool_get/set macros
Also add API call WM_toolsystem_ref_sync_from_context (was in rna_workspace_api.c)
Diffstat (limited to 'source/blender/windowmanager/WM_toolsystem.h')
-rw-r--r--source/blender/windowmanager/WM_toolsystem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_toolsystem.h b/source/blender/windowmanager/WM_toolsystem.h
index 9d9278668a9..7410bf4ab09 100644
--- a/source/blender/windowmanager/WM_toolsystem.h
+++ b/source/blender/windowmanager/WM_toolsystem.h
@@ -77,6 +77,9 @@ void WM_toolsystem_ref_set_from_runtime(
struct bContext *C, struct WorkSpace *workspace, struct bToolRef *tref,
const struct bToolRef_Runtime *tool, const char *idname);
+void WM_toolsystem_ref_sync_from_context(
+ struct Main *bmain, struct WorkSpace *workspace, struct bToolRef *tref);
+
void WM_toolsystem_init(struct bContext *C);
int WM_toolsystem_mode_from_spacetype(