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>2017-12-05 17:59:48 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-06 12:21:33 +0300
commitcbb42fcd9622aa7224ba89ab51079e6f3e89a62c (patch)
treee048c5477e0829f96981a7732ffbd5b52b4098bf /source/blender/depsgraph
parent18ca793ca08f8334e37c60e06dede78c43338721 (diff)
Depsgraph: Use default argument value for relations builder
Follows other function definitions.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h
index 2fd072dbcea..46da40b9938 100644
--- a/source/blender/depsgraph/intern/depsgraph.h
+++ b/source/blender/depsgraph/intern/depsgraph.h
@@ -118,12 +118,12 @@ struct Depsgraph {
DepsRelation *add_new_relation(OperationDepsNode *from,
OperationDepsNode *to,
const char *description,
- bool check_unique);
+ bool check_unique = false);
DepsRelation *add_new_relation(DepsNode *from,
DepsNode *to,
const char *description,
- bool check_unique);
+ bool check_unique = false);
/* Check whether two nodes are connected by relation with given
* description. Description might be NULL to check ANY relation between