diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-23 09:20:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-23 09:23:16 +0300 |
commit | 44f78c95be133db75d439d4e4d5d6fdd5720f463 (patch) | |
tree | 7db73acab84e526760eb61d59061293268120fe0 /source/blender/makesrna/intern/rna_workspace.c | |
parent | f5f66d4901ef6636fdc2aeb6596f57717928e61a (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.c | 2 |
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); |