From cbb42fcd9622aa7224ba89ab51079e6f3e89a62c Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 5 Dec 2017 15:59:48 +0100 Subject: [PATCH] Depsgraph: Use default argument value for relations builder Follows other function definitions. --- source/blender/depsgraph/intern/depsgraph.h | 4 ++-- 1 file 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