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.
This commit is contained in:
Campbell Barton 2020-09-11 20:35:46 +10:00
parent 08002eb865
commit f3224bbc0f
1 changed files with 2 additions and 2 deletions

View File

@ -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