[Bf-blender-cvs] [cbb42fcd962] master: Depsgraph: Use default argument value for relations builder

Sergey Sharybin noreply at git.blender.org
Wed Dec 6 10:33:02 CET 2017


Commit: cbb42fcd9622aa7224ba89ab51079e6f3e89a62c
Author: Sergey Sharybin
Date:   Tue Dec 5 15:59:48 2017 +0100
Branches: master
https://developer.blender.org/rBcbb42fcd9622aa7224ba89ab51079e6f3e89a62c

Depsgraph: Use default argument value for relations builder

Follows other function definitions.

===================================================================

M	source/blender/depsgraph/intern/depsgraph.h

===================================================================

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



More information about the Bf-blender-cvs mailing list