From c9d6eb4fb42b231037b00d64602ab0c589120cbb Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 10 Oct 2019 11:03:58 +0200 Subject: Depsgraph: Cleanup, promote is_evaluating query This way it might be used for sanity checks in RNA API as well. --- source/blender/depsgraph/DEG_depsgraph.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/depsgraph/DEG_depsgraph.h') diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index e44dddbcf54..d5a93d21b99 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -179,14 +179,14 @@ void DEG_editors_set_update_cb(DEG_EditorUpdateIDCb id_func, DEG_EditorUpdateSce /* Evaluation ----------------------------------- */ +bool DEG_is_evaluating(struct Depsgraph *depsgraph); + bool DEG_is_active(const struct Depsgraph *depsgraph); void DEG_make_active(struct Depsgraph *depsgraph); void DEG_make_inactive(struct Depsgraph *depsgraph); /* Evaluation Debug ------------------------------ */ -bool DEG_debug_is_evaluating(struct Depsgraph *depsgraph); - void DEG_debug_print_begin(struct Depsgraph *depsgraph); void DEG_debug_print_eval(struct Depsgraph *depsgraph, -- cgit v1.2.3