From dd9852af669aaab3552b9f9405ef6756ede1ed3b Mon Sep 17 00:00:00 2001 From: Florian BRUNET Date: Tue, 15 Mar 2016 10:00:49 +0100 Subject: [PATCH] Adaptative maintenance of GEOM for new SalomePyConsole. --- src/GEOMToolsGUI/GEOMToolsGUI_1.cxx | 4 ++-- src/OCC2VTK/CMakeLists.txt | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx index b83b3e77e..54cba56c3 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx @@ -25,7 +25,7 @@ // Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com) #ifndef DISABLE_PYCONSOLE -#include +#include #endif #include "GEOMToolsGUI.h" @@ -135,7 +135,7 @@ void GEOMToolsGUI::OnCheckGeometry() { SalomeApp_Application* app = dynamic_cast< SalomeApp_Application* >(SUIT_Session::session()->activeApplication()); - PyConsole_Console* pyConsole = app->pythonConsole(); + SalomePyConsole_Console* pyConsole = app->pythonConsole(); if (pyConsole) pyConsole->exec("from GEOM_usinggeom import *"); diff --git a/src/OCC2VTK/CMakeLists.txt b/src/OCC2VTK/CMakeLists.txt index e66da770b..82c65ac98 100755 --- a/src/OCC2VTK/CMakeLists.txt +++ b/src/OCC2VTK/CMakeLists.txt @@ -35,7 +35,6 @@ ADD_DEFINITIONS( # libraries to link to SET(_link_LIBRARIES - vtkFiltersCore ${CAS_KERNEL} ${CAS_TKMesh} ${CAS_TKTopAlgo} ${CAS_MODELER} -- 2.39.2