mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
PAL12662: salome_test.py execution crashes Salome on some stations.
This commit is contained in:
parent
c46bd4f9bb
commit
06890db430
@ -49,6 +49,9 @@
|
||||
// Open CASCADE Includes
|
||||
#include <TopoDS.hxx>
|
||||
|
||||
// QT Includes
|
||||
#include <qapplication.h>
|
||||
|
||||
// IDL Headers
|
||||
#include <SALOMEconfig.h>
|
||||
#include CORBA_SERVER_HEADER(SMESH_Gen)
|
||||
@ -376,6 +379,8 @@ SMESH_Swig::Init(int theStudyID)
|
||||
}
|
||||
|
||||
mySComponentMesh = SALOMEDS::SComponent::_narrow(aSComponent);
|
||||
|
||||
qApp->processEvents(); // Workaround for bug 12662
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user