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-01-06 13:48:13 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2022-01-06 13:48:44 +0300
commitd31b8c316f98ec6231dd47a354815d2c89b4c8d6 (patch)
tree9be8280fb823ff93f2856001ca93e83e3e330afa
parent88e15ff1e6864959782cc8af1f874c60c51764f4 (diff)
Cleanup: typos in code.
-rw-r--r--source/blender/io/alembic/intern/abc_customdata.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/io/alembic/intern/abc_customdata.cc b/source/blender/io/alembic/intern/abc_customdata.cc
index 4e2dcc9b8cd..26203864cf8 100644
--- a/source/blender/io/alembic/intern/abc_customdata.cc
+++ b/source/blender/io/alembic/intern/abc_customdata.cc
@@ -541,8 +541,8 @@ void read_generated_coordinates(const ICompoundProperty &prop,
}
IV3fGeomParam::Sample sample = param.getExpandedValue(iss);
- Alembic::AbcGeom::V3fArraySamplePtr abc_ocro = sample.getVals();
- const size_t totvert = abc_ocro.get()->size();
+ Alembic::AbcGeom::V3fArraySamplePtr abc_orco = sample.getVals();
+ const size_t totvert = abc_orco.get()->size();
Mesh *mesh = config.mesh;
if (totvert != mesh->totvert) {
@@ -561,7 +561,7 @@ void read_generated_coordinates(const ICompoundProperty &prop,
float(*orcodata)[3] = static_cast<float(*)[3]>(cd_data);
for (int vertex_idx = 0; vertex_idx < totvert; ++vertex_idx) {
- const Imath::V3f &abc_coords = (*abc_ocro)[vertex_idx];
+ const Imath::V3f &abc_coords = (*abc_orco)[vertex_idx];
copy_zup_from_yup(orcodata[vertex_idx], abc_coords.getValue());
}