diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-05 17:59:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-06 12:21:33 +0300 |
commit | cbb42fcd9622aa7224ba89ab51079e6f3e89a62c (patch) | |
tree | e048c5477e0829f96981a7732ffbd5b52b4098bf /source/blender | |
parent | 18ca793ca08f8334e37c60e06dede78c43338721 (diff) |
Depsgraph: Use default argument value for relations builder
Follows other function definitions.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph.h | 4 |
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 |