]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Rollback changes for PAL12755 (no need to release global thread state - othersize...
authorvsr <vsr@opencascade.com>
Fri, 20 Oct 2006 12:20:29 +0000 (12:20 +0000)
committervsr <vsr@opencascade.com>
Fri, 20 Oct 2006 12:20:29 +0000 (12:20 +0000)
src/SALOME_PY/SalomePy.cxx

index fb53378391eaad5af96526ad66f296802e70887b..4603f0dbeed6ee47436843bb276d3b8b0124762f 100755 (executable)
@@ -118,9 +118,7 @@ extern "C" PyObject *libSalomePy_getRenderer(PyObject *self, PyObject *args)
 {
   //return ProcessEvent( new TGetRendererEvent() );
   PyObject * aResult;
-  Py_BEGIN_ALLOW_THREADS // PAL12755
   aResult = ProcessEvent( new TGetRendererEvent() );
-  Py_END_ALLOW_THREADS // PAL12755
   return aResult;
 }
 
@@ -144,9 +142,7 @@ extern "C" PyObject *libSalomePy_getRenderWindow(PyObject *self, PyObject *args)
 {
   //return ProcessEvent( new TGetRenderWindowEvent() );
   PyObject * aResult;
-  Py_BEGIN_ALLOW_THREADS // PAL12755
   aResult = ProcessEvent( new TGetRenderWindowEvent() );
-  Py_END_ALLOW_THREADS // PAL12755
   return aResult;
 }
 
@@ -170,9 +166,7 @@ extern "C" PyObject *libSalomePy_getRenderWindowInteractor(PyObject *self, PyObj
 {
   //return ProcessEvent( new TGetRenderWindowInteractorEvent() );
   PyObject * aResult;
-  Py_BEGIN_ALLOW_THREADS // PAL12755
   aResult = ProcessEvent( new TGetRenderWindowInteractorEvent() );
-  Py_END_ALLOW_THREADS // PAL12755
   return aResult;
 }