]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
bos #41859: patch netgen5.3_withOCCT780_linux.patch
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 16 May 2024 10:39:24 +0000 (12:39 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 22 May 2024 11:34:53 +0000 (13:34 +0200)
products/patches/netgen5.3_withOCCT780_linux.patch

index e5714abda126e6036e20722745b544f696d2935a..001981eb4ae8a51c57f3a36b62e6b7b3ca56a70d 100644 (file)
@@ -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;
\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