Fix generation of IfcOpenHouse.ifc which doesn't have its ground representation. See #200

This commit is contained in:
Alexandre Lemire
2017-04-07 12:20:48 +02:00
committed by Thomas Krijnen
parent f71ee35f57
commit 0f993b32f4
+1
View File
@@ -269,6 +269,7 @@ int main() {
for (IfcSchema::IfcRepresentation::list::it it = ground_reps->begin(); it != ground_reps->end(); ++it) {
(*it)->setContextOfItems(file.getRepresentationContext("Model"));
}
file.addEntity(ground_representation);
file.setSurfaceColour(ground_representation, 0.15, 0.25, 0.05);
// According to the Ifc2x3 schema an IfcWallStandardCase needs to have an IfcMaterialLayerSet