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:
-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());
}