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/editors/object | |
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/editors/object')
-rw-r--r-- | source/blender/editors/object/object_add.c | 4 | ||||
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index 2afadda9ade..9354171a1e4 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -3101,11 +3101,11 @@ static int object_convert_exec(bContext *C, wmOperator *op) basen = duplibase_for_convert(bmain, depsgraph, scene, view_layer, base, NULL); newob = basen->object; - /* Decrement original point-cloud's usage count. */ + /* Decrement original point cloud's usage count. */ PointCloud *pointcloud = newob->data; id_us_min(&pointcloud->id); - /* Make a new copy of the point-cloud. */ + /* Make a new copy of the point cloud. */ newob->data = BKE_id_copy(bmain, &pointcloud->id); } else { diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index fde7e34cdb5..b07e9ffc882 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -714,7 +714,7 @@ static bool modifier_apply_shape(Main *bmain, BKE_id_free(NULL, mesh_applied); } else { - /* TODO: implement for hair, point-clouds and volumes. */ + /* TODO: implement for hair, point clouds and volumes. */ BKE_report(reports, RPT_ERROR, "Cannot apply modifier for this object type"); return false; } @@ -813,7 +813,7 @@ static bool modifier_apply_obdata( DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY); } else { - /* TODO: implement for hair, point-clouds and volumes. */ + /* TODO: implement for hair, point clouds and volumes. */ BKE_report(reports, RPT_ERROR, "Cannot apply modifier for this object type"); return false; } |