mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 18:02:29 +00:00
Correct clean up in Iterator
This commit is contained in:
@@ -970,7 +970,7 @@ namespace IfcGeom {
|
|||||||
delete ifc_file;
|
delete ifc_file;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.get(IfcGeom::IteratorSettings::DISABLE_TRIANGULATION)) {
|
if (!settings.get(IfcGeom::IteratorSettings::DISABLE_TRIANGULATION)) {
|
||||||
for (auto& p : all_processed_native_elements_) {
|
for (auto& p : all_processed_native_elements_) {
|
||||||
delete p;
|
delete p;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user