PAL12662: salome_test.py execution crashes Salome on some stations.

This commit is contained in:
jfa 2006-06-20 13:21:00 +00:00
parent c46bd4f9bb
commit 06890db430

View File

@ -49,6 +49,9 @@
// Open CASCADE Includes // Open CASCADE Includes
#include <TopoDS.hxx> #include <TopoDS.hxx>
// QT Includes
#include <qapplication.h>
// IDL Headers // IDL Headers
#include <SALOMEconfig.h> #include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_Gen) #include CORBA_SERVER_HEADER(SMESH_Gen)
@ -376,6 +379,8 @@ SMESH_Swig::Init(int theStudyID)
} }
mySComponentMesh = SALOMEDS::SComponent::_narrow(aSComponent); mySComponentMesh = SALOMEDS::SComponent::_narrow(aSComponent);
qApp->processEvents(); // Workaround for bug 12662
} }
}; };