Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-05-28 16:42:08 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-05-28 18:06:41 +0300
commit0cf0cc9873c114f3ccc19901931616a0e91f27cb (patch)
treeb438a8434b251939be37abcc207d0856055c58de /source/blender/depsgraph/DEG_depsgraph_query.h
parentd6643b57bcd9ca536bb9e6eb4cebd83a58578123 (diff)
Depsgraph: Add query for whether graph is up to date
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph_query.h')
-rw-r--r--source/blender/depsgraph/DEG_depsgraph_query.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_query.h b/source/blender/depsgraph/DEG_depsgraph_query.h
index 9b7e5b95fdc..b9cbd75ce1e 100644
--- a/source/blender/depsgraph/DEG_depsgraph_query.h
+++ b/source/blender/depsgraph/DEG_depsgraph_query.h
@@ -116,6 +116,11 @@ bool DEG_is_original_object(struct Object *object);
bool DEG_is_evaluated_id(struct ID *id);
bool DEG_is_evaluated_object(struct Object *object);
+/* Check whether depsgraph os fully evaluated. This includes the following checks:
+ * - Relations are up-to-date.
+ * - Nothing is tagged for update. */
+bool DEG_is_fully_evaluated(const struct Depsgraph *depsgraph);
+
/* ************************ DEG object iterators ********************* */
enum {