diff options
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index f7aeca7e75f..134e71ecb6a 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -145,14 +145,14 @@ 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); +void DEG_editors_update(struct Depsgraph *depsgraph, bool time); /* Clear recalc flags after editors or renderers have handled updates. */ -void DEG_ids_clear_recalc(Depsgraph *depsgraph); +void DEG_ids_clear_recalc(Depsgraph *depsgraph, const bool backup); + +/* Restore recalc flags, backed up by a previous call to DEG_ids_clear_recalc. + * This also clears the backup. */ +void DEG_ids_restore_recalc(Depsgraph *depsgraph); /* ************************************************ */ /* Evaluation Engine API */ |