mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
- Parsing: make argument out of range errors catchable
- Geometry: support for IfcLine - Geometry: more correct initialization of placements
This commit is contained in:
@@ -193,7 +193,7 @@ IfcGeomObjects::IfcGeomObject* _get() {
|
||||
const IfcEntity ifcshape = *it;
|
||||
if ( ifcshape->dt == IfcSchema::Enum::IfcMappedItem ) continue;
|
||||
TopoDS_Shape ss;
|
||||
if ( IfcGeom::convert_shape(ifcshape,ss) ) {
|
||||
if ( IfcGeom::convert_shape(ifcshape,ss) && ! ss.IsNull() ) {
|
||||
builder.Add(shapes,ss);
|
||||
hasShapes = true;
|
||||
#ifdef _DEBUG
|
||||
|
||||
Reference in New Issue
Block a user