]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Porting to OCCT 7.7.0. Patch for linux.
authorjfa <jfa@opencascade.com>
Fri, 14 Apr 2023 10:59:45 +0000 (11:59 +0100)
committerjfa <jfa@opencascade.com>
Fri, 14 Apr 2023 10:59:45 +0000 (11:59 +0100)
products/patches/netgen5.3_withOCCT770_linux.patch

index 2ab39f541241d8b8d32eafb6c3dbe45f3542dccc..f2cc93dabed00d9c2b4ae974cfc7d2d0a10301f2 100644 (file)
@@ -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;
\r
+                for (int k = 1; k <=3; k++)\r
+                {\r
+-                  int n = triangulation->Triangles()(j)(k);\r
+-                  p[k-1] = triangulation->Nodes()(n).Transformed(loc);\r
+-                  par[k-1] = triangulation->UVNodes()(n);\r
++                  int n = triangulation->Triangle(j)(k);\r
++                  p[k - 1] = triangulation->Node(n).Transformed(loc);\r
++                  par[k - 1] = triangulation->UVNode(n);\r
+                }\r
\r
+                //double maxside = 0;\r
 diff --git a/libsrc/occ/vsocc.cpp b/libsrc/occ/vsocc.cpp
 index 4d80600..74a85ae 100644
 --- a/libsrc/occ/vsocc.cpp