mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 09:50:34 +05:00
Adaptative maintenance of GEOM for new SalomePyConsole.
This commit is contained in:
parent
aa14383e45
commit
dd9852af66
@ -25,7 +25,7 @@
|
|||||||
// Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com)
|
// Author : Sergey ANIKIN, Open CASCADE S.A.S. (sergey.anikin@opencascade.com)
|
||||||
|
|
||||||
#ifndef DISABLE_PYCONSOLE
|
#ifndef DISABLE_PYCONSOLE
|
||||||
#include <PyConsole_Console.h>
|
#include <SalomePyConsole_Console.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "GEOMToolsGUI.h"
|
#include "GEOMToolsGUI.h"
|
||||||
@ -135,7 +135,7 @@ void GEOMToolsGUI::OnCheckGeometry()
|
|||||||
{
|
{
|
||||||
SalomeApp_Application* app =
|
SalomeApp_Application* app =
|
||||||
dynamic_cast< SalomeApp_Application* >(SUIT_Session::session()->activeApplication());
|
dynamic_cast< SalomeApp_Application* >(SUIT_Session::session()->activeApplication());
|
||||||
PyConsole_Console* pyConsole = app->pythonConsole();
|
SalomePyConsole_Console* pyConsole = app->pythonConsole();
|
||||||
|
|
||||||
if (pyConsole)
|
if (pyConsole)
|
||||||
pyConsole->exec("from GEOM_usinggeom import *");
|
pyConsole->exec("from GEOM_usinggeom import *");
|
||||||
|
@ -35,7 +35,6 @@ ADD_DEFINITIONS(
|
|||||||
|
|
||||||
# libraries to link to
|
# libraries to link to
|
||||||
SET(_link_LIBRARIES
|
SET(_link_LIBRARIES
|
||||||
vtkFiltersCore
|
|
||||||
${CAS_KERNEL}
|
${CAS_KERNEL}
|
||||||
${CAS_TKMesh} ${CAS_TKTopAlgo}
|
${CAS_TKMesh} ${CAS_TKTopAlgo}
|
||||||
${CAS_MODELER}
|
${CAS_MODELER}
|
||||||
|
Loading…
Reference in New Issue
Block a user