diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:56:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:59:34 +0300 |
commit | 4b9ff3cd42be427e478743648e9951bf8c189a04 (patch) | |
tree | b0cb1462a8fdae38df4a0a1067349f3118d56a43 /source/blender/depsgraph | |
parent | 2e99a74df9ecfa18c4081cdcc82227e2e24f14b1 (diff) |
Cleanup: comment blocks, trailing space in comments
Diffstat (limited to 'source/blender/depsgraph')
10 files changed, 15 insertions, 15 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_build.h b/source/blender/depsgraph/DEG_depsgraph_build.h index b4acf9b010c..9da2cd5e42a 100644 --- a/source/blender/depsgraph/DEG_depsgraph_build.h +++ b/source/blender/depsgraph/DEG_depsgraph_build.h @@ -92,7 +92,7 @@ typedef enum eDepsSceneComponentType { * (i.e. just SDNA property setting). */ DEG_SCENE_COMP_PARAMETERS, /* Animation Component - * TODO(sergey): merge in with parameters? */ + * TODO(sergey): merge in with parameters? */ DEG_SCENE_COMP_ANIMATION, /* Sequencer Component (Scene Only). */ DEG_SCENE_COMP_SEQUENCER, 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 { diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index 78c5a0c7a13..21a6728c364 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -755,7 +755,7 @@ const char *DEG_update_tag_as_string(IDRecalcFlag flag) return nullptr; } -/* Data-Based Tagging */ +/* Data-Based Tagging. */ /* Tag given ID for an update in all the dependency graphs. */ void DEG_id_tag_update(ID *id, int flag) diff --git a/source/blender/depsgraph/intern/depsgraph_tag.h b/source/blender/depsgraph/intern/depsgraph_tag.h index 70504840fef..6a0b1826cd9 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.h +++ b/source/blender/depsgraph/intern/depsgraph_tag.h @@ -31,7 +31,7 @@ namespace deg { struct Depsgraph; -/* Get type of a node which corresponds to a ID_RECALC_GEOMETRY tag. */ +/* Get type of a node which corresponds to a ID_RECALC_GEOMETRY tag. */ NodeType geometry_tag_to_component(const ID *id); /* Tag given ID for an update in all registered dependency graphs. */ diff --git a/source/blender/depsgraph/intern/node/deg_node.h b/source/blender/depsgraph/intern/node/deg_node.h index 56bc0b41823..e1469b68b0e 100644 --- a/source/blender/depsgraph/intern/node/deg_node.h +++ b/source/blender/depsgraph/intern/node/deg_node.h @@ -100,7 +100,7 @@ enum class NodeType { AUDIO, ARMATURE, /* Un-interesting data-block, which is a part of dependency graph, but does - * not have very distinctive update procedure. */ + * not have very distinctive update procedure. */ GENERIC_DATABLOCK, /* **** Evaluation-Related Outer Types (with Subdata) **** */ diff --git a/source/blender/depsgraph/intern/node/deg_node_operation.h b/source/blender/depsgraph/intern/node/deg_node_operation.h index 1d966cffd5d..a17186da941 100644 --- a/source/blender/depsgraph/intern/node/deg_node_operation.h +++ b/source/blender/depsgraph/intern/node/deg_node_operation.h @@ -79,7 +79,7 @@ enum class OperationCode { TRANSFORM_PARENT, /* Constraints */ TRANSFORM_CONSTRAINTS, - /* Handle object-level updates, mainly proxies hacks and recalc flags. */ + /* Handle object-level updates, mainly proxies hacks and recalc flags. */ TRANSFORM_EVAL, /* Initializes transformation for simulation. * For example, ensures point cache is properly reset before doing rigid @@ -102,7 +102,7 @@ enum class OperationCode { GEOMETRY_EVAL_INIT, /* Evaluate the whole geometry, including modifiers. */ GEOMETRY_EVAL, - /* Evaluation of geometry is completely done.. */ + /* Evaluation of geometry is completely done. */ GEOMETRY_EVAL_DONE, /* Evaluation of a shape key. * NOTE: Currently only for object data data-blocks. */ |