From 3cbf1c2b16767247631c204a3a2b880abfc0d80a Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 10 Feb 2015 15:18:04 +0300 Subject: [PATCH] Compatibility with dev version of OCCT --- config_files/patches/netgen-4.9.13-for-SALOME.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config_files/patches/netgen-4.9.13-for-SALOME.patch b/config_files/patches/netgen-4.9.13-for-SALOME.patch index 26430b6..5fa8499 100644 --- a/config_files/patches/netgen-4.9.13-for-SALOME.patch +++ b/config_files/patches/netgen-4.9.13-for-SALOME.patch @@ -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 -- 2.39.2