[Bf-blender-cvs] [42bcf35] depsgraph_refactor: Depsgraph: Code cleanup, line wrapping

Sergey Sharybin noreply at git.blender.org
Fri Feb 27 13:34:38 CET 2015


Commit: 42bcf35fce6879d568a8ef7ed988c982de83e085
Author: Sergey Sharybin
Date:   Fri Feb 27 17:27:47 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB42bcf35fce6879d568a8ef7ed988c982de83e085

Depsgraph: Code cleanup, line wrapping

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

M	source/blender/depsgraph/intern/depsgraph_build.cpp

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build.cpp b/source/blender/depsgraph/intern/depsgraph_build.cpp
index 995724f..f250819 100644
--- a/source/blender/depsgraph/intern/depsgraph_build.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build.cpp
@@ -584,11 +584,15 @@ void DepsgraphIDUsersBuilder::add_relation(const ID *from_id, const ID *to_id,
 /* *************** */
 /* Cycle detection */
 
-static void deg_graph_print_cycle_rel(const OperationDepsNode *to, const OperationDepsNode *from, const DepsRelation *rel)
+static void deg_graph_print_cycle_rel(const OperationDepsNode *to,
+                                      const OperationDepsNode *from,
+                                      const DepsRelation *rel)
 {
 	string to_owner = "", from_owner = "";
 
-	/* NOTE: subdata name only matters for bones; all other components currently should just use the ID instead */
+	/* NOTE: subdata name only matters for bones; all other components currently
+	 * should just use the ID instead/
+	 **/
 	if (to->owner->type == DEPSNODE_TYPE_BONE) {
 		to_owner = to->owner->owner->name + "." + to->owner->name + ".";
 	}
@@ -603,7 +607,6 @@ static void deg_graph_print_cycle_rel(const OperationDepsNode *to, const Operati
 		from_owner = from->owner->owner->name + ".";
 	}
 
-
 	printf("  '%s%s' depends on '%s%s' through '%s'\n",
 	       to_owner.c_str(),
 	       to->identifier().c_str(),




More information about the Bf-blender-cvs mailing list