Activate OSD signals on Linux
This commit is contained in:
parent
00b4fd364a
commit
b36ffe63fd
|
@ -120,9 +120,6 @@ void ProjectionAlgos::execute(void)
|
|||
brep_hlr->Add(Input);
|
||||
|
||||
try {
|
||||
#if defined(__GNUC__) && defined (FC_OS_LINUX)
|
||||
Base::SignalException se;
|
||||
#endif
|
||||
gp_Ax2 transform(gp_Pnt(0,0,0),gp_Dir(Direction.x,Direction.y,Direction.z));
|
||||
HLRAlgo_Projector projector( transform );
|
||||
brep_hlr->Projector(projector);
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
# include <Interface_Static.hxx>
|
||||
# include <OSD.hxx>
|
||||
# include <sstream>
|
||||
#endif
|
||||
|
||||
|
@ -101,6 +102,9 @@ void PartExport initPart()
|
|||
App::GetApplication().addImportType("STEP with colors (*.step *.stp)","ImportGui");
|
||||
App::GetApplication().addExportType("STEP with colors (*.step *.stp)","ImportGui");
|
||||
#endif
|
||||
#endif
|
||||
#if defined(FC_OS_LINUX)
|
||||
OSD::SetSignal();
|
||||
#endif
|
||||
|
||||
PyObject* partModule = Py_InitModule3("Part", Part_methods, module_part_doc); /* mod name, table ptr */
|
||||
|
|
Loading…
Reference in New Issue
Block a user