Fix : fill the storey property of an Element with NULL when we don't find any IfcBuildingStorey parent

This commit is contained in:
Balleux Benjamin
2017-05-09 14:40:23 +02:00
parent e3e4fba63a
commit a6ffa7fc42
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -604,6 +604,7 @@ namespace IfcGeom {
}
if (hasParent) { ret->SetFloor(parent_object); }
else { ret->SetFloor(NULL); } // Set it so null in order to know that we didn't found any IfcBuildingStorey type parent
}
}