diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-11 13:35:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-11 13:41:51 +0300 |
commit | f3224bbc0f6d78a39557ce61a932c2f334fdee86 (patch) | |
tree | e1bf7c2ef81df5251fab7a18cc64cb1666c98c61 /source/blender | |
parent | 08002eb86530c986c890d62663438363da5e5e75 (diff) |
OpenSubdiv: initialize in background-mode
Previously this was initialized with OpenGL, however this uses a
more proper/complete implementation it is not only for OpenGL.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index b85bf8cb323..5a22e990218 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -190,8 +190,6 @@ void WM_init_opengl(void) GPU_pass_cache_init(); - BKE_subdiv_init(); - opengl_is_init = true; } @@ -323,6 +321,8 @@ void WM_init(bContext *C, int argc, const char **argv) UI_init(); } + BKE_subdiv_init(); + ED_spacemacros_init(); /* note: there is a bug where python needs initializing before loading the |