From: Florian BRUNET Date: Tue, 15 Mar 2016 09:00:49 +0000 (+0100) Subject: Adaptative maintenance of GEOM for new SalomePyConsole. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4cc621c48034e730b8cbcf396c127f2dc3f8241d;p=modules%2Fgeom.git Adaptative maintenance of GEOM for new SalomePyConsole. --- 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}