[Bf-blender-cvs] [f3224bbc0f6] master: OpenSubdiv: initialize in background-mode
Campbell Barton
noreply at git.blender.org
Fri Sep 11 12:42:10 CEST 2020
Commit: f3224bbc0f6d78a39557ce61a932c2f334fdee86
Author: Campbell Barton
Date: Fri Sep 11 20:35:46 2020 +1000
Branches: master
https://developer.blender.org/rBf3224bbc0f6d78a39557ce61a932c2f334fdee86
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.
===================================================================
M source/blender/windowmanager/intern/wm_init_exit.c
===================================================================
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
More information about the Bf-blender-cvs
mailing list