Cleanup: Use const for PointCloud variable

This commit is contained in:
Hans Goudey 2020-10-26 23:12:22 -05:00
parent c686951233
commit 4d15f4ac5b
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ void BKE_mesh_to_pointcloud(struct Main *bmain,
struct Depsgraph *depsgraph,
struct Scene *scene,
struct Object *ob);
void BKE_mesh_from_pointcloud(struct PointCloud *pointcloud, struct Mesh *me);
void BKE_mesh_from_pointcloud(const struct PointCloud *pointcloud, struct Mesh *me);
void BKE_pointcloud_to_mesh(struct Main *bmain,
struct Depsgraph *depsgraph,
struct Scene *scene,

View File

@ -949,7 +949,7 @@ void BKE_mesh_to_pointcloud(Main *bmain, Depsgraph *depsgraph, Scene *UNUSED(sce
BKE_object_free_derived_caches(ob);
}
void BKE_mesh_from_pointcloud(PointCloud *pointcloud, Mesh *me)
void BKE_mesh_from_pointcloud(const PointCloud *pointcloud, Mesh *me)
{
BLI_assert(pointcloud != NULL);