Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-09-11 13:35:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-11 13:41:51 +0300
commitf3224bbc0f6d78a39557ce61a932c2f334fdee86 (patch)
treee1bf7c2ef81df5251fab7a18cc64cb1666c98c61 /source/blender/windowmanager/intern/wm_init_exit.c
parent08002eb86530c986c890d62663438363da5e5e75 (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/windowmanager/intern/wm_init_exit.c')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c4
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