[Bf-blender-cvs] [5c9a67c63bf] blender2.8: Depsgraph: Cleanup, line length
Sergey Sharybin
noreply at git.blender.org
Fri Dec 7 11:43:03 CET 2018
Commit: 5c9a67c63bfb67f9f86399f0a6a1d139f439d26b
Author: Sergey Sharybin
Date: Fri Dec 7 11:06:09 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB5c9a67c63bfb67f9f86399f0a6a1d139f439d26b
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) {
More information about the Bf-blender-cvs
mailing list