From 359bbac0d75861c06349f767011807f37e3dbb4b Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 10 Feb 2015 15:12:43 +0300 Subject: [PATCH] Fix compilation with dev OCCT --- src/NETGEN/netgen49ForSalome.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/NETGEN/netgen49ForSalome.patch b/src/NETGEN/netgen49ForSalome.patch index 26430b6..5fa8499 100644 --- a/src/NETGEN/netgen49ForSalome.patch +++ b/src/NETGEN/netgen49ForSalome.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