Salome HOME
Adaptative maintenance of GEOM for new SalomePyConsole.
authorFlorian BRUNET <florian.brunet@opencascade.com>
Tue, 15 Mar 2016 09:00:49 +0000 (10:00 +0100)
committerrnv <rnv@opencascade.com>
Wed, 16 Mar 2016 12:27:03 +0000 (15:27 +0300)
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx
src/OCC2VTK/CMakeLists.txt

index b83b3e77e30da171467a31beb1753d5d0fb24763..54cba56c350ef7d98f44ded0e821a449898d7416 100644 (file)
@@ -25,7 +25,7 @@
 //  Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com)
 
 #ifndef DISABLE_PYCONSOLE
-#include <PyConsole_Console.h>
+#include <SalomePyConsole_Console.h>
 #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 *");
index e66da770b9a4c3b83897f14b48fb9655e56c93b9..82c65ac980e2853168a4d2dff55e48326ad8db8f 100755 (executable)
@@ -35,7 +35,6 @@ ADD_DEFINITIONS(
 
 # libraries to link to
 SET(_link_LIBRARIES
-  vtkFiltersCore
   ${CAS_KERNEL} 
   ${CAS_TKMesh} ${CAS_TKTopAlgo}
   ${CAS_MODELER}