[Bf-blender-cvs] [987b3df] master: Missed version update loading in background mode

Campbell Barton noreply at git.blender.org
Thu Aug 27 15:17:48 CEST 2015


Commit: 987b3df9c0d911ff8f781e4908d14d2ff7cb4d4f
Author: Campbell Barton
Date:   Thu Aug 27 23:11:13 2015 +1000
Branches: master
https://developer.blender.org/rB987b3df9c0d911ff8f781e4908d14d2ff7cb4d4f

Missed version update loading in background mode

===================================================================

M	source/creator/creator.c

===================================================================

diff --git a/source/creator/creator.c b/source/creator/creator.c
index 49bb920..074f82e 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -1426,6 +1426,7 @@ static int load_file(int UNUSED(argc), const char **argv, void *data)
 		BPY_python_reset(C);
 #endif
 
+		BLI_callback_exec(bmain, NULL, BLI_CB_EVT_VERSION_UPDATE);
 		BLI_callback_exec(bmain, NULL, BLI_CB_EVT_LOAD_POST);
 
 		BKE_scene_update_tagged(bmain->eval_ctx, bmain, CTX_data_scene(C));




More information about the Bf-blender-cvs mailing list