Fix tools not being initialized on startup

This commit is contained in:
Campbell Barton
2018-05-18 17:32:38 +02:00
parent c2d5411cbf
commit f9547ab313
5 changed files with 62 additions and 28 deletions

View File

@@ -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();