Mod: use new API of InventorBuilder

This commit is contained in:
wmayer
2022-12-12 20:50:32 +01:00
parent 787a37be82
commit cfc97b80b1
4 changed files with 27 additions and 22 deletions

View File

@@ -1099,10 +1099,10 @@ void TopoShape::exportFaceSet(double dev, double ca,
builder.addNode(material);
}
builder.beginPoints();
builder.addPoints(vertices);
builder.endPoints();
builder.addIndexedFaceSet(indices);
Base::Coordinate3Item coords{vertices};
builder.addNode(coords);
Base::IndexedFaceSetItem faceSet{indices};
builder.addNode(faceSet);
builder.endSeparator();
}
builder.endSeparator();