diff options
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index 567916fdebe..f7aeca7e75f 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -139,16 +139,20 @@ void DEG_graph_time_tag_update(struct Depsgraph *depsgraph); void DEG_graph_id_type_tag(struct Depsgraph *depsgraph, short id_type); void DEG_id_type_tag(struct Main *bmain, short id_type); -void DEG_ids_clear_recalc(struct Main *bmain, Depsgraph *depsgraph); - -/* Check if something was changed in the database and inform - * editors about this. - */ -void DEG_ids_check_recalc(struct Main *bmain, - struct Depsgraph *depsgraph, - struct Scene *scene, - struct ViewLayer *view_layer, - bool time); +/* Set a depsgraph to flush updates to editors. This would be done + * for viewport depsgraphs, but not render or export depsgraph for example. */ +void DEG_enable_editors_update(struct Depsgraph *depsgraph); + +/* Check if something was changed in the database and inform editors about this, + * then clear recalc flags. */ +void DEG_editors_update(struct Main *bmain, + struct Depsgraph *depsgraph, + struct Scene *scene, + struct ViewLayer *view_layer, + bool time); + +/* Clear recalc flags after editors or renderers have handled updates. */ +void DEG_ids_clear_recalc(Depsgraph *depsgraph); /* ************************************************ */ /* Evaluation Engine API */ |