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(),

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to