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-18 18:32:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-18 18:36:11 +0300
commitf9547ab3133654f7dac805f9d61c49183fa2046c (patch)
tree8e57fe4457f2e070d2fe219bbf41d6532b56ded8 /source/creator
parentc2d5411cbfe2da4b4a274a8695cec8a024cad886 (diff)
Fix tools not being initialized on startup
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index d3fecad2e03..918563dc73b 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -457,6 +457,9 @@ int main(
CTX_py_init_set(C, 1);
WM_keymap_init(C);
+ /* Called on load, however Python is not yet initialized, so call again here. */
+ WM_toolsystem_init(C);
+
#ifdef WITH_FREESTYLE
/* initialize Freestyle */
FRS_initialize();