fix for OCCT 7.4 and older

This commit is contained in:
Joachim Schoeberl 2021-08-31 01:05:36 +02:00
parent f856e90d15
commit 69f6a9cc90

View File

@ -608,7 +608,7 @@ namespace netgen
#if OCC_VERSION_MAJOR>=7 && OCC_VERSION_MINOR>=5 #if OCC_VERSION_MAJOR>=7 && OCC_VERSION_MINOR>=5
uv = triangulation -> UVNode(triangle(k)); uv = triangulation -> UVNode(triangle(k));
#else #else
uv = triangulation -> UVNodes()(triangle(k); uv = triangulation -> UVNodes()(triangle(k));
#endif #endif
prop.SetParameters (uv.X(), uv.Y()); prop.SetParameters (uv.X(), uv.Y());