Cleanup: Use const for PointCloud variable
This commit is contained in:
parent
c686951233
commit
4d15f4ac5b
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue