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:
authorJanne Karhu <jhkarh@gmail.com>2011-01-28 18:24:02 +0300
committerJanne Karhu <jhkarh@gmail.com>2011-01-28 18:24:02 +0300
commitf11424d6448b9c0335df3e13df8c315b49e626a9 (patch)
tree6f8f722bab0891d92a769fb25e2c1e36b6f44ba2 /source/creator
parent3a5e08ad585d7317e70fa6dec1be926dc8bc540b (diff)
Fix for [#25825] Boolean doesn't work in command-line rendering (2.56)
* DAG_on_load_update wasn't called at all for background rendering, so any non-animated object data wasn't updated properly.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 38ddecabc02..730563dfc63 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -68,6 +68,7 @@
#include "BKE_utildefines.h"
#include "BKE_blender.h"
#include "BKE_context.h"
+#include "BKE_depsgraph.h" // for DAG_on_load_update
#include "BKE_font.h"
#include "BKE_global.h"
#include "BKE_main.h"
@@ -978,6 +979,8 @@ static int load_file(int UNUSED(argc), char **argv, void *data)
WM_check(C);
G.relbase_valid = 1;
if (CTX_wm_manager(C) == NULL) CTX_wm_manager_set(C, wm); /* reset wm */
+
+ DAG_on_load_update(CTX_data_main(C), TRUE);
}
/* WM_read_file() runs normally but since we're in background mode do here */