mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
cmake: Add install command for qtViewer
This commit is contained in:
committed by
Thomas Krijnen
parent
b4135194ca
commit
02233f86cf
@@ -31,7 +31,7 @@ bool ParseIfcFile::Parse(
|
||||
settings.set("weld-vertices", false);
|
||||
settings.set("apply-default-materials", true);
|
||||
|
||||
IfcGeom::Iterator* it = new IfcGeom::Iterator(settings, &file);
|
||||
IfcGeom::Iterator* it = new IfcGeom::Iterator(ifcopenshell::geometry::kernels::construct(&file, "opencascade", settings), settings, &file);
|
||||
if (!it->initialize()) {
|
||||
MessageLogger::log("Error: Iterator failed to initialize! Aborting.");
|
||||
delete it;
|
||||
|
||||
Reference in New Issue
Block a user