Fix (unreported) broken background mode of Blender (due to OSD cleanup called also in background mode).
This commit is contained in:
parent
738bc300c7
commit
7bb16a5ccf
|
@ -546,11 +546,11 @@ void WM_exit_ext(bContext *C, const bool do_python)
|
|||
(void)do_python;
|
||||
#endif
|
||||
|
||||
if (!G.background) {
|
||||
#ifdef WITH_OPENSUBDIV
|
||||
BKE_subsurf_osd_cleanup();
|
||||
BKE_subsurf_osd_cleanup();
|
||||
#endif
|
||||
|
||||
if (!G.background) {
|
||||
GPU_global_buffer_pool_free();
|
||||
GPU_free_unused_buffers();
|
||||
|
||||
|
|
Loading…
Reference in New Issue