mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 14:33:28 +00:00
Reverse preprocessor statement to work without definition, defaulting to 2x3
This commit is contained in:
@@ -178,7 +178,7 @@ void SvgSerializer::write(const IfcGeom::BRepElement<double>* o) {
|
|||||||
IfcSchema::IfcBuildingStorey* storey = 0;
|
IfcSchema::IfcBuildingStorey* storey = 0;
|
||||||
IfcSchema::IfcObjectDefinition* obdef = static_cast<IfcSchema::IfcObjectDefinition*>(file->entityById(o->id()));
|
IfcSchema::IfcObjectDefinition* obdef = static_cast<IfcSchema::IfcObjectDefinition*>(file->entityById(o->id()));
|
||||||
|
|
||||||
#ifdef USE_IFC2x3
|
#ifndef USE_IFC4
|
||||||
typedef IfcSchema::IfcRelDecomposes decomposition_element;
|
typedef IfcSchema::IfcRelDecomposes decomposition_element;
|
||||||
#else
|
#else
|
||||||
typedef IfcSchema::IfcRelAggregates decomposition_element;
|
typedef IfcSchema::IfcRelAggregates decomposition_element;
|
||||||
|
|||||||
Reference in New Issue
Block a user