From: jfa Date: Fri, 14 Apr 2023 10:59:45 +0000 (+0100) Subject: Porting to OCCT 7.7.0. Patch for linux. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6692ea35d346c93d8c4e5d809d693ca58be6f6d2;p=tools%2Fsat_salome.git Porting to OCCT 7.7.0. Patch for linux. --- diff --git a/products/patches/netgen5.3_withOCCT770_linux.patch b/products/patches/netgen5.3_withOCCT770_linux.patch index 2ab39f5..f2cc93d 100644 --- a/products/patches/netgen5.3_withOCCT770_linux.patch +++ b/products/patches/netgen5.3_withOCCT770_linux.patch @@ -3,18 +3,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