From: Nabil Ghodbane Date: Thu, 16 May 2024 10:39:24 +0000 (+0200) Subject: bos #41859: patch netgen5.3_withOCCT780_linux.patch X-Git-Tag: V9_13_0rc2~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2a066623284b3b250eea259b754c37b63b2b9612;p=tools%2Fsat_salome.git bos #41859: patch netgen5.3_withOCCT780_linux.patch --- diff --git a/products/patches/netgen5.3_withOCCT780_linux.patch b/products/patches/netgen5.3_withOCCT780_linux.patch index e5714ab..001981e 100644 --- a/products/patches/netgen5.3_withOCCT780_linux.patch +++ b/products/patches/netgen5.3_withOCCT780_linux.patch @@ -16,18 +16,18 @@ index 5026536..8074ca6 100644 --- a/libsrc/occ/occgenmesh.cpp +++ b/libsrc/occ/occgenmesh.cpp @@ -1242,9 +1242,9 @@ namespace netgen - - for (int k = 1; k <=3; k++) - { -- int n = triangulation->Triangles()(j)(k); -- p[k-1] = triangulation->Nodes()(n).Transformed(loc); -- par[k-1] = triangulation->UVNodes()(n); -+ int n = triangulation->Triangle(j)(k); -+ p[k - 1] = triangulation->Node(n).Transformed(loc); -+ par[k - 1] = triangulation->UVNode(n); - } - - //double maxside = 0; + + for (int k = 1; k <=3; k++) + { +- int n = triangulation->Triangles()(j)(k); +- p[k-1] = triangulation->Nodes()(n).Transformed(loc); +- par[k-1] = triangulation->UVNodes()(n); ++ int n = triangulation->Triangle(j)(k); ++ p[k - 1] = triangulation->Node(n).Transformed(loc); ++ par[k - 1] = triangulation->UVNode(n); + } + + //double maxside = 0; diff --git a/libsrc/occ/vsocc.cpp b/libsrc/occ/vsocc.cpp index 4d80600..74a85ae 100644 --- a/libsrc/occ/vsocc.cpp