diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-01-28 18:24:02 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-01-28 18:24:02 +0300 |
commit | f11424d6448b9c0335df3e13df8c315b49e626a9 (patch) | |
tree | 6f8f722bab0891d92a769fb25e2c1e36b6f44ba2 | |
parent | 3a5e08ad585d7317e70fa6dec1be926dc8bc540b (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.
-rw-r--r-- | source/creator/creator.c | 3 |
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 */ |