Depsgraph: Cleanup, line wraps
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 29 Jan 2018 13:43:12 +0000 (14:43 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 29 Jan 2018 13:43:12 +0000 (14:43 +0100)
source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc

index b23a6112fce75bd8e5e7e3b20e2e6af37776bfa6..b0e997998243e3430ea8ad91512ef4206d8924d2 100644 (file)
@@ -444,12 +444,24 @@ void DepsgraphRelationBuilder::build_rig(Object *object)
 
 void DepsgraphRelationBuilder::build_proxy_rig(Object *object)
 {
-       OperationKey pose_init_key(&object->id, DEG_NODE_TYPE_EVAL_POSE, DEG_OPCODE_POSE_INIT);
-       OperationKey pose_done_key(&object->id, DEG_NODE_TYPE_EVAL_POSE, DEG_OPCODE_POSE_DONE);
+       OperationKey pose_init_key(&object->id,
+                                  DEG_NODE_TYPE_EVAL_POSE,
+                                  DEG_OPCODE_POSE_INIT);
+       OperationKey pose_done_key(&object->id,
+                                  DEG_NODE_TYPE_EVAL_POSE,
+                                  DEG_OPCODE_POSE_DONE);
        BLI_LISTBASE_FOREACH (bPoseChannel *, pchan, &object->pose->chanbase) {
-               OperationKey bone_local_key(&object->id, DEG_NODE_TYPE_BONE, pchan->name, DEG_OPCODE_BONE_LOCAL);
-               OperationKey bone_ready_key(&object->id, DEG_NODE_TYPE_BONE, pchan->name, DEG_OPCODE_BONE_READY);
-               OperationKey bone_done_key(&object->id, DEG_NODE_TYPE_BONE, pchan->name, DEG_OPCODE_BONE_DONE);
+               OperationKey bone_local_key(&object->id,
+                                           DEG_NODE_TYPE_BONE, pchan->name,
+                                           DEG_OPCODE_BONE_LOCAL);
+               OperationKey bone_ready_key(&object->id,
+                                           DEG_NODE_TYPE_BONE,
+                                           pchan->name,
+                                           DEG_OPCODE_BONE_READY);
+               OperationKey bone_done_key(&object->id,
+                                          DEG_NODE_TYPE_BONE,
+                                          pchan->name,
+                                          DEG_OPCODE_BONE_DONE);
                add_relation(pose_init_key, bone_local_key, "Pose Init -> Bone Local");
                add_relation(bone_local_key, bone_ready_key, "Local -> Ready");
                add_relation(bone_ready_key, bone_done_key, "Ready -> Done");