Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhang95 committed Aug 8, 2024
1 parent 5a51b04 commit 0d82151
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion projects/Alembic/ReadAlembic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@ static std::shared_ptr<PrimitiveObject> foundABCCurves(Alembic::AbcGeom::ICurves
auto widthsamp =
width.getIndexedValue(Alembic::Abc::v12::ISampleSelector((Alembic::AbcCoreAbstract::index_t)sample_index));
int index_size = (int)widthsamp.getIndices()->size();
prim->userData().set2("index_size", index_size);
if (prim->verts.size() == index_size) {
auto &width_attr = prim->add_attr<float>("width");
for (auto i = 0; i < prim->verts.size(); i++) {
Expand Down

0 comments on commit 0d82151

Please sign in to comment.