diff options
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r-- | source/creator/creator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index adedab80338..9889eacc5db 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -63,6 +63,7 @@ #include <stddef.h> #include <string.h> #include <errno.h> +#include <time.h> /* This little block needed for linking to Blender... */ @@ -1273,6 +1274,7 @@ static int load_file(int UNUSED(argc), const char **argv, void *data) if (CTX_wm_manager(C) == NULL) CTX_wm_manager_set(C, wm); /* reset wm */ DAG_on_visible_update(CTX_data_main(C), TRUE); + BKE_scene_update_tagged(CTX_data_main(C), CTX_data_scene(C)); } else { /* failed to load file, stop processing arguments */ |