Skip to content

Commit 247c4f2

Browse files
committed
fix import option causing wrong hierarchical transformation of elements
1 parent 0f75819 commit 247c4f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ifcmax/IfcMax.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,10 @@ int IFCImp::DoImport(const TCHAR *file_name, ImpInterface *impitfc, Interface *i
300300

301301
// some settings which seem to make sense
302302
settings.get<ifcopenshell::geometry::settings::UseElementHierarchy>().value = true;
303-
settings.get<ifcopenshell::geometry::settings::BuildingLocalPlacement>().value = false; // should be true
303+
settings.get<ifcopenshell::geometry::settings::BuildingLocalPlacement>().value = true; // should be true
304304

305305
// ATTENTION: breaks hierarchy positioning when active ( "site-local-placement" )
306-
settings.get<ifcopenshell::geometry::settings::SiteLocalPlacement>().value = true; // should be FALSE
306+
settings.get<ifcopenshell::geometry::settings::SiteLocalPlacement>().value = false; // should be FALSE
307307

308308

309309
settings.get<ifcopenshell::geometry::settings::DontEmitNormals>().value = false;

0 commit comments

Comments
 (0)