diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-04-19 23:37:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-04-19 23:39:36 +0300 |
commit | 0566ebdebeeb658300e6c45b805075ada9c02c0a (patch) | |
tree | 656d4004b376d4286cff9c45b2ab609553f061b5 /source/blender/render/intern | |
parent | cedd8b8c56b944ffdabadc4339d2d1e5c6651dd6 (diff) |
Fix crash with Alembic export after recent persistent data bugfix
We weren't clearing the recalc flags for that case.
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/engine.c b/source/blender/render/intern/engine.c index 2edfaf09358..817f09f5bfe 100644 --- a/source/blender/render/intern/engine.c +++ b/source/blender/render/intern/engine.c @@ -690,7 +690,7 @@ static void engine_depsgraph_init(RenderEngine *engine, ViewLayer *view_layer) } else { /* Go through update with full Python callbacks for regular render. */ - BKE_scene_graph_update_for_newframe(engine->depsgraph); + BKE_scene_graph_update_for_newframe_ex(engine->depsgraph, false); } engine->has_grease_pencil = DRW_render_check_grease_pencil(engine->depsgraph); @@ -725,7 +725,7 @@ void RE_engine_frame_set(RenderEngine *engine, int frame, float subframe) CLAMP(cfra, MINAFRAME, MAXFRAME); BKE_scene_frame_set(re->scene, cfra); - BKE_scene_graph_update_for_newframe(engine->depsgraph); + BKE_scene_graph_update_for_newframe_ex(engine->depsgraph, false); BKE_scene_camera_switch_update(re->scene); } |