From a59b00e08e6e5020d5a848a5ab9f4050dcbc3d4a Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 6 Oct 2012 12:20:57 +0200 Subject: [PATCH] Handle API change in OCC 6.5 --- src/Mod/Import/Gui/AppImportGuiPy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Import/Gui/AppImportGuiPy.cpp b/src/Mod/Import/Gui/AppImportGuiPy.cpp index 134fe15f7..f9ce41189 100644 --- a/src/Mod/Import/Gui/AppImportGuiPy.cpp +++ b/src/Mod/Import/Gui/AppImportGuiPy.cpp @@ -671,7 +671,7 @@ static PyObject * exporter(PyObject *self, PyObject *args) writer.Transfer(hDoc, STEPControl_AsIs); // edit STEP header -#if OCC_VERSION_HEX > 0x060500 +#if OCC_VERSION_HEX >= 0x060500 APIHeaderSection_MakeHeader makeHeader(writer.ChangeWriter().Model()); #else APIHeaderSection_MakeHeader makeHeader(writer.Writer().Model());