From 4b9ff3cd42be427e478743648e9951bf8c189a04 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 24 Jun 2021 15:56:58 +1000 Subject: Cleanup: comment blocks, trailing space in comments --- source/blender/depsgraph/intern/builder/deg_builder_nodes.cc | 2 +- .../depsgraph/intern/builder/deg_builder_nodes_scene.cc | 2 +- .../blender/depsgraph/intern/builder/deg_builder_relations.cc | 10 +++++----- .../depsgraph/intern/builder/deg_builder_relations_impl.h | 2 +- .../depsgraph/intern/builder/deg_builder_relations_rig.cc | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'source/blender/depsgraph/intern/builder') diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc index 3ab278b0c4c..20169f0a961 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc @@ -1368,7 +1368,7 @@ void DepsgraphNodeBuilder::build_particle_systems(Object *object, bool is_object ParticleSettings *part = psys->part; /* Build particle settings operations. * - * NOTE: The call itself ensures settings are only build once. */ + * NOTE: The call itself ensures settings are only build once. */ build_particle_settings(part); /* Particle system evaluation. */ add_operation_node(psys_comp, OperationCode::PARTICLE_SYSTEM_EVAL, nullptr, psys->name); diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes_scene.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes_scene.cc index 21a32b0d005..090b7f9dcb3 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes_scene.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes_scene.cc @@ -68,7 +68,7 @@ void DepsgraphNodeBuilder::build_scene_parameters(Scene *scene) * * Would be nice to find some reliable way of ignoring compositor here, but it's already pulled * in when building scene from view layer, so this particular case does not make things - * marginally worse. */ + * marginally worse. */ build_scene_compositor(scene); LISTBASE_FOREACH (TimeMarker *, marker, &scene->markers) { diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc index 8a02228146a..c269ad16824 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc @@ -220,7 +220,7 @@ OperationCode bone_target_opcode(ID *target, const char *component_subdata, RootPChanMap *root_map) { - /* Same armature. */ + /* Same armature. */ if (target == id) { /* Using "done" here breaks in-chain deps, while using * "ready" here breaks most production rigs instead. @@ -240,7 +240,7 @@ bool object_have_geometry_component(const Object *object) } // namespace -/* **** General purpose functions **** */ +/* **** General purpose functions **** */ DepsgraphRelationBuilder::DepsgraphRelationBuilder(Main *bmain, Depsgraph *graph, @@ -1148,7 +1148,7 @@ void DepsgraphRelationBuilder::build_constraints(ID *id, /* Special case for camera tracking -- it doesn't use targets to * define relations. */ /* TODO: we can now represent dependencies in a much richer manner, - * so review how this is done. */ + * so review how this is done. */ if (ELEM(cti->type, CONSTRAINT_TYPE_FOLLOWTRACK, CONSTRAINT_TYPE_CAMERASOLVER, @@ -1911,7 +1911,7 @@ void DepsgraphRelationBuilder::build_particle_systems(Object *object) /* Effectors. */ add_particle_forcefield_relations( psys_key, object, psys, part->effector_weights, part->type == PART_HAIR, "Particle Field"); - /* Boids .*/ + /* Boids. */ if (part->boids != nullptr) { LISTBASE_FOREACH (BoidState *, state, &part->boids->states) { LISTBASE_FOREACH (BoidRule *, rule, &state->rules) { @@ -1947,7 +1947,7 @@ void DepsgraphRelationBuilder::build_particle_systems(Object *object) switch (part->ren_as) { case PART_DRAW_OB: if (part->instance_object != nullptr) { - /* Make sure object's relations are all built. */ + /* Make sure object's relations are all built. */ build_object(part->instance_object); /* Build relation for the particle visualization. */ build_particle_system_visualization_object(object, psys, part->instance_object); diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h b/source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h index cab20dadc50..035d636b977 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h @@ -192,7 +192,7 @@ bool DepsgraphRelationBuilder::is_same_bone_dependency(const KeyFrom &key_from, op_to->opcode == OperationCode::BONE_LOCAL)) { return false; } - /* ... BUT, we also need to check if it's same bone. */ + /* ... BUT, we also need to check if it's same bone. */ if (op_from->owner->name != op_to->owner->name) { return false; } 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 e4591e2e994..4754749e2e5 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc @@ -397,7 +397,7 @@ void DepsgraphRelationBuilder::build_rig(Object *object) add_relation(bone_local_key, constraints_key, "Local -> Constraints Stack"); /* Constraints -> ready/ */ /* TODO(sergey): When constraint stack is exploded, this step should - * occur before the first IK solver. */ + * occur before the first IK solver. */ add_relation(constraints_key, bone_ready_key, "Constraints -> Ready"); } else { -- cgit v1.2.3