From 4c048e469502f26032311d5f914e138a5fe435f5 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 23 Sep 2024 09:12:10 +0200 Subject: [PATCH] Update face.cpp - snail artefact on 7.8 as well #4924 --- src/ifcgeom/kernels/opencascade/face.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/kernels/opencascade/face.cpp b/src/ifcgeom/kernels/opencascade/face.cpp index c369e85387..a74bd33fc8 100644 --- a/src/ifcgeom/kernels/opencascade/face.cpp +++ b/src/ifcgeom/kernels/opencascade/face.cpp @@ -442,7 +442,7 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re kt.Value().Original().ToUTF8CString(c); std::string message = c; delete[] c; -#if OCC_VERSION_MAJOR==7 && OCC_VERSION_MINOR == 7 +#if OCC_VERSION_MAJOR==7 && OCC_VERSION_MINOR >= 7 if (!reversed_surface && !fd.surface().IsNull() && fd.surface()->IsUPeriodic() && message == "Unknown message invoked with the keyword FixAdvFace.FixOrientation.MSG0") { Logger::Notice("Detected reversed wire, reattempting with reversed basis surface"); TopoDS_Face reversed_result;