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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to