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-05-23 09:20:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-23 09:23:16 +0300
commit44f78c95be133db75d439d4e4d5d6fdd5720f463 (patch)
tree7db73acab84e526760eb61d59061293268120fe0 /source/blender/makesrna/intern/rna_workspace.c
parentf5f66d4901ef6636fdc2aeb6596f57717928e61a (diff)
Cleanup: move toolsystem into own include
Many files using the window manager don't access the tool-system. This avoids rebuilding many files when the tool-system changes.
Diffstat (limited to 'source/blender/makesrna/intern/rna_workspace.c')
-rw-r--r--source/blender/makesrna/intern/rna_workspace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_workspace.c b/source/blender/makesrna/intern/rna_workspace.c
index 53056c6cc5d..af9a200c3b9 100644
--- a/source/blender/makesrna/intern/rna_workspace.c
+++ b/source/blender/makesrna/intern/rna_workspace.c
@@ -53,6 +53,8 @@
#include "RNA_access.h"
+#include "WM_toolsystem.h"
+
static void rna_window_update_all(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *UNUSED(ptr))
{
WM_main_add_notifier(NC_WINDOW, NULL);