Fix compositor preview not respecting un-keyed changes
This is a part of T66099.
This commit is contained in:
@@ -207,7 +207,10 @@ static void compo_initjob(void *cjv)
|
||||
cj->compositor_depsgraph = DEG_graph_new(scene, view_layer, DAG_EVAL_RENDER);
|
||||
DEG_graph_build_for_compositor_preview(
|
||||
cj->compositor_depsgraph, bmain, scene, view_layer, cj->ntree);
|
||||
DEG_evaluate_on_framechange(bmain, cj->compositor_depsgraph, CFRA);
|
||||
|
||||
/* NOTE: Don't update animation to preserve unkeyed changes, this means can not use
|
||||
* evaluate_on_framechange. */
|
||||
DEG_evaluate_on_refresh(cj->compositor_depsgraph);
|
||||
|
||||
bNodeTree *ntree_eval = (bNodeTree *)DEG_get_evaluated_id(cj->compositor_depsgraph,
|
||||
&cj->ntree->id);
|
||||
|
||||
Reference in New Issue
Block a user