diff options
author | Hans Goudey <h.goudey@me.com> | 2021-12-13 08:00:39 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-12-13 08:00:39 +0300 |
commit | 80f1527762c1cac50c04074282088aa12797ec0a (patch) | |
tree | 43b962610a80b04974683074f7ec045dbfe4ca84 /source/blender/blenkernel | |
parent | d9d4b9899e8b78af6324d4f76b8e69f555bbc49d (diff) |
Cleanup: Point cloud vs point-cloud in comments
Point cloud is two separate words, this just changes comments in
a few places where we were inconsistent. A small wording change
to another comment is also included.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_geometry_set.hh | 6 | ||||
-rw-r--r-- | source/blender/blenkernel/BKE_pointcloud.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/geometry_set_instances.cc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set.hh b/source/blender/blenkernel/BKE_geometry_set.hh index 7d33cb81f0f..79f29e0954e 100644 --- a/source/blender/blenkernel/BKE_geometry_set.hh +++ b/source/blender/blenkernel/BKE_geometry_set.hh @@ -264,8 +264,8 @@ inline constexpr bool is_geometry_component_v = std::is_base_of_v<GeometryCompon * individual components might be shared between multiple geometries and other code. Shared * components are copied automatically when write access is requested. * - * The components usually do not store data by them self, but keep a reference to a data structure - * defined elsewhere in Blender. There is at most one component of each type: + * The components usually do not store data directly, but keep a reference to a data + * structure defined elsewhere. There is at most one component of each type: * - #MeshComponent * - #CurveComponent * - #PointCloudComponent @@ -559,7 +559,7 @@ class MeshComponent : public GeometryComponent { * A geometry component that stores a point cloud, corresponding to the #PointCloud data structure. * While a point cloud is technically a subset of a mesh in some respects, it is useful because of * its simplicity, partly on a conceptual level for the user, but also in the code, though partly - * for historical reasons. Point-clouds can also be rendered in special ways, based on the built-in + * for historical reasons. Point clouds can also be rendered in special ways, based on the built-in * `radius` attribute. * * Attributes on point clouds are all stored in contiguous arrays in its #CustomData, diff --git a/source/blender/blenkernel/BKE_pointcloud.h b/source/blender/blenkernel/BKE_pointcloud.h index d2d390dc786..af8a6ed293d 100644 --- a/source/blender/blenkernel/BKE_pointcloud.h +++ b/source/blender/blenkernel/BKE_pointcloud.h @@ -18,7 +18,7 @@ /** \file * \ingroup bke - * \brief General operations for point-clouds. + * \brief General operations for point clouds. */ #ifdef __cplusplus extern "C" { diff --git a/source/blender/blenkernel/intern/geometry_set_instances.cc b/source/blender/blenkernel/intern/geometry_set_instances.cc index 253c4642c14..6d50dcd3c8c 100644 --- a/source/blender/blenkernel/intern/geometry_set_instances.cc +++ b/source/blender/blenkernel/intern/geometry_set_instances.cc @@ -74,7 +74,7 @@ GeometrySet object_get_evaluated_geometry_set(const Object &object) add_final_mesh_as_geometry_component(object, geometry_set); } - /* TODO: Cover the case of point-clouds without modifiers-- they may not be covered by the + /* TODO: Cover the case of point clouds without modifiers-- they may not be covered by the * #geometry_set_eval case above. */ /* TODO: Add volume support. */ |