mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Position() != nullptr
This commit is contained in:
@@ -2391,7 +2391,7 @@ bool IfcGeom::Kernel::convert_layerset(const IfcSchema::IfcProduct* product, std
|
||||
|
||||
bool has_position = true;
|
||||
#ifdef SCHEMA_IfcSweptAreaSolid_Position_IS_OPTIONAL
|
||||
has_position = extrusion->hasPosition();
|
||||
has_position = extrusion->Position() != nullptr;
|
||||
#endif
|
||||
if (has_position) {
|
||||
if (!convert(extrusion->Position(), extrusion_position)) {
|
||||
|
||||
Reference in New Issue
Block a user