From f5e81b93b1f401a5ebaa482913f0bd9018392250 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 16 May 2024 12:39:24 +0200 Subject: [PATCH] bos #41859: patch netgen5.3_withOCCT780_linux.patch --- .../patches/netgen5.3_withOCCT780_linux.patch | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) 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 -- 2.39.2