Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2022-03-23 23:24:50 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2022-03-23 23:32:09 +0300
commit945dfd200b1fc58c63fd01c264d50911f26773a2 (patch)
treee68ec1a31280faee177be4f64a2f4dc542f38bea /source/blender/io/alembic/intern/abc_reader_mesh.cc
parent03a7747aa6e624ce2dc894bf376a7ed93bf25bb4 (diff)
Cleanup: add const qualifier
This adds a const qualifier to some code path in the Alembic and USD importers. More could be added elsewhere. This change is done as it will be required when GeometrySets are supported and helps keeping diff noise in the patch to a bare minimum.
Diffstat (limited to 'source/blender/io/alembic/intern/abc_reader_mesh.cc')
-rw-r--r--source/blender/io/alembic/intern/abc_reader_mesh.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/alembic/intern/abc_reader_mesh.cc b/source/blender/io/alembic/intern/abc_reader_mesh.cc
index 1d00b55ca78..47f4dd2ea5d 100644
--- a/source/blender/io/alembic/intern/abc_reader_mesh.cc
+++ b/source/blender/io/alembic/intern/abc_reader_mesh.cc
@@ -658,7 +658,7 @@ bool AbcMeshReader::accepts_object_type(
return true;
}
-bool AbcMeshReader::topology_changed(Mesh *existing_mesh, const ISampleSelector &sample_sel)
+bool AbcMeshReader::topology_changed(const Mesh *existing_mesh, const ISampleSelector &sample_sel)
{
IPolyMeshSchema::Sample sample;
try {