Adaptative maintenance of GEOM for new SalomePyConsole.

This commit is contained in:
Florian BRUNET 2016-03-15 10:00:49 +01:00 committed by vsr
parent 8370b4a1c4
commit 32a099aa46
2 changed files with 2 additions and 3 deletions

View 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 *");

View File

@ -35,7 +35,6 @@ ADD_DEFINITIONS(
# libraries to link to
SET(_link_LIBRARIES
vtkFiltersCore
${CAS_KERNEL}
${CAS_TKMesh} ${CAS_TKTopAlgo}
${CAS_MODELER}