Skip to content

Commit

Permalink
update FaceConverter.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ifcquery committed Jun 3, 2024
1 parent 9261968 commit b7c10dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion IfcPlusPlus/src/ifcpp/geometry/FaceConverter.h
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,10 @@ class FaceConverter : public StatusCallback
}
else
{
params.callbackFunc->messageCallback("degenerated triangle", StatusCallback::MESSAGE_TYPE_WARNING, __FUNC__, params.ifc_entity);
if (params.callbackFunc)
{
params.callbackFunc->messageCallback("degenerated triangle", StatusCallback::MESSAGE_TYPE_WARNING, __FUNC__, params.ifc_entity);
}
}

std::vector<vec3> currentFlatPolygonPoints;
Expand Down

0 comments on commit b7c10dd

Please sign in to comment.