Mod: use new API of InventorBuilder
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user