bugfix [#25208] randomize transform doesn't work on objects with keyframes
[blender-staging.git] / source / blender / windowmanager / intern / wm_files.c
index b21d58c1053ec3ede16564ccf6d107449b1f106a..006f96502c61327ddb413e6c28e7c8ed5d62b5d9 100644 (file)
@@ -315,7 +315,7 @@ void WM_read_file(bContext *C, const char *name, ReportList *reports)
                CTX_wm_window_set(C, CTX_wm_manager(C)->windows.first);
 
                ED_editors_init(C);
-               DAG_on_load_update(CTX_data_main(C));
+               DAG_on_load_update(CTX_data_main(C), TRUE);
 
 #ifdef WITH_PYTHON
                /* run any texts that were loaded in and flagged as modules */
@@ -408,7 +408,7 @@ int WM_read_homefile(bContext *C, wmOperator *op)
        BKE_write_undo(C, "original");  /* save current state */
 
        ED_editors_init(C);
-       DAG_on_load_update(CTX_data_main(C));
+       DAG_on_load_update(CTX_data_main(C), TRUE);
 
 #ifdef WITH_PYTHON
        if(CTX_py_init_get(C)) {