mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Fix compilation error reported by bezumenez
This commit is contained in:
@@ -101,7 +101,7 @@
|
|||||||
bool IfcGeom::Kernel::convert(const IfcSchema::IfcExtrudedAreaSolid* l, TopoDS_Shape& shape) {
|
bool IfcGeom::Kernel::convert(const IfcSchema::IfcExtrudedAreaSolid* l, TopoDS_Shape& shape) {
|
||||||
const double height = l->Depth() * getValue(GV_LENGTH_UNIT);
|
const double height = l->Depth() * getValue(GV_LENGTH_UNIT);
|
||||||
if (height < getValue(GV_PRECISION)) {
|
if (height < getValue(GV_PRECISION)) {
|
||||||
Logger::Message(Logger::LOG_ERROR, "Non-positive extrusion height encountered for:", l);
|
Logger::Message(Logger::LOG_ERROR, "Non-positive extrusion height encountered for:", l->entity);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user