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>2018-11-22 16:54:08 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-22 18:17:18 +0300
commita20d350dd50c731c880e5c8099f64396145d3d94 (patch)
tree5d4027207e6886f06c883e0d02830fbff05f8739 /source/blender/depsgraph/intern/depsgraph.h
parent3d77517ad5b341bd3c589c349e38a62e433c8ec2 (diff)
Depsgraph: Cleanup, make it easier to create relations with flags
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h
index 5097ae33d4c..fd45c482bb5 100644
--- a/source/blender/depsgraph/intern/depsgraph.h
+++ b/source/blender/depsgraph/intern/depsgraph.h
@@ -141,12 +141,14 @@ struct Depsgraph {
DepsRelation *add_new_relation(OperationDepsNode *from,
OperationDepsNode *to,
const char *description,
- bool check_unique = false);
+ bool check_unique = false,
+ int flags = 0);
DepsRelation *add_new_relation(DepsNode *from,
DepsNode *to,
const char *description,
- bool check_unique = false);
+ bool check_unique = false,
+ int flags = 0);
/* Check whether two nodes are connected by relation with given
* description. Description might be NULL to check ANY relation between