Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / blender.c
index 7a61ef2abac5a14e71d8aa3fb0377834b5f29bab..0b368df57eddf3c11552d21ab0eb00f1fbf319fd 100644 (file)
 #include "BKE_brush.h"
 #include "BKE_cachefile.h"
 #include "BKE_context.h"
-#include "BKE_depsgraph.h"
 #include "BKE_global.h"
 #include "BKE_idprop.h"
 #include "BKE_image.h"
+#include "BKE_layer.h"
 #include "BKE_library.h"
 #include "BKE_node.h"
 #include "BKE_report.h"
@@ -62,6 +62,8 @@
 #include "BKE_screen.h"
 #include "BKE_sequencer.h"
 
+#include "DEG_depsgraph.h"
+
 #include "RE_pipeline.h"
 #include "RE_render_ext.h"
 
@@ -87,7 +89,7 @@ void BKE_blender_free(void)
        IMB_exit();
        BKE_cachefiles_exit();
        BKE_images_exit();
-       DAG_exit();
+       DEG_free_node_types();
 
        BKE_brush_system_exit();
        RE_texture_rng_exit();  
@@ -96,6 +98,8 @@ void BKE_blender_free(void)
 
        BKE_sequencer_cache_destruct();
        IMB_moviecache_destruct();
+
+       BKE_layer_exit();
        
        free_nodesystem();
 }
@@ -270,6 +274,8 @@ void BKE_blender_userdef_app_template_data_swap(UserDef *userdef_a, UserDef *use
        DATA_SWAP(font_path_ui_mono);
        DATA_SWAP(keyconfigstr);
 
+       DATA_SWAP(manipulator_flag);
+
 #undef SWAP_TYPELESS
 #undef LIST_SWAP
 #undef DATA_SWAP