Commit: 5ee8111f159b409d5e3c85cfaf07a2e3aa61c51a
Author: Sergey Sharybin
Date: Fri Dec 7 11:06:09 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB5ee8111f159b409d5e3c85cfaf07a2e3aa61c51a
Depsgraph: Cleanup, line length
===================================================================
M source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
===================================================================
diff --git
a/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
b/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
index 8de4a1cca07..96ce4e10fda 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
@@ -491,7 +491,9 @@ void DepsgraphRelationBuilder::build_rig(Object *object)
pchan->name,
DEG_OPCODE_BONE_SEGMENTS);
/* B-Bone shape depends on the final position of the
bone. */
- add_relation(bone_done_key, bone_segments_key, "Done ->
B-Bone Segments");
+ add_relation(bone_done_key,
+ bone_segments_key,
+ "Done -> B-Bone Segments");
/* B-Bone shape depends on final position of handle
bones. */
bPoseChannel *prev, *next;
BKE_pchan_bbone_handles_get(pchan, &prev, &next);
@@ -500,24 +502,36 @@ void DepsgraphRelationBuilder::build_rig(Object *object)
DEG_NODE_TYPE_BONE,
prev->name,
DEG_OPCODE_BONE_DONE);
- add_relation(prev_key, bone_segments_key, "Prev
Handle -> B-Bone Segments");
+ add_relation(prev_key,
+ bone_segments_key,
+ "Prev Handle -> B-Bone Segments");
}
if (next) {
OperationKey next_key(&object->id,
DEG_NODE_TYPE_BONE,
next->name,
DEG_OPCODE_BONE_DONE);
- add_relation(next_key, bone_segments_key, "Next
Handle -> B-Bone Segments");
+ add_relation(next_key,
+ bone_segments_key,
+ "Next Handle -> B-Bone Segments");
}
/* Pose requires the B-Bone shape. */
- add_relation(bone_segments_key, pose_done_key,
"PoseEval Result-Bone Link");
- add_relation(bone_segments_key, pose_cleanup_key,
"Cleanup dependency");
+ add_relation(bone_segments_key,
+ pose_done_key,
+ "PoseEval Result-Bone Link");
+ add_relation(bone_segments_key,
+ pose_cleanup_key,
+ "Cleanup dependency");
}
else {
/* Assume that all bones must be done for the pose to
be ready
* (for deformers). */
- add_relation(bone_done_key, pose_done_key, "PoseEval
Result-Bone Link");
- add_relation(bone_done_key, pose_cleanup_key, "Cleanup
dependency");
+ add_relation(bone_done_key,
+ pose_done_key,
+ "PoseEval Result-Bone Link");
+ add_relation(bone_done_key,
+ pose_cleanup_key,
+ "Cleanup dependency");
}
/* Custom shape. */
if (pchan->custom != NULL) {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs