]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Fix compilation with dev OCCT
authoreap <eap@opencascade.com>
Tue, 10 Feb 2015 12:12:43 +0000 (15:12 +0300)
committereap <eap@opencascade.com>
Tue, 10 Feb 2015 12:12:43 +0000 (15:12 +0300)
src/NETGEN/netgen49ForSalome.patch

index 26430b62852abb03d338de61ac9c0b9e90c1cc8e..5fa84997f284e40291dd991ba1759f005f54b73b 100644 (file)
@@ -721,6 +721,18 @@ diff -Naur netgen-4.9.13_orig/libsrc/occ/occgeom.cpp netgen-4.9.13_new/libsrc/oc
  
        return true;
     }
+@@ -1038,9 +1095,9 @@
+    {
+       cout << "writing stl..."; cout.flush();
+       StlAPI_Writer writer;
+-      writer.RelativeMode() = Standard_False;
++      // writer.RelativeMode() = Standard_False;
+-      writer.SetDeflection(0.02);
++      // writer.SetDeflection(0.02);
+       writer.Write(shape,filename);
+       cout << "done" << endl;
 diff -Naur netgen-4.9.13_orig/libsrc/occ/occgeom.hpp netgen-4.9.13_new/libsrc/occ/occgeom.hpp
 --- netgen-4.9.13_orig/libsrc/occ/occgeom.hpp  2010-01-14 19:56:19.000000000 +0300
 +++ netgen-4.9.13_new/libsrc/occ/occgeom.hpp   2014-07-22 13:09:03.000000000 +0400