Fix for bug IPAL9621 ( 3.0.0(current2807): Regression: SMESH ? Engine error during import med file ).

This commit is contained in:
mzn 2005-07-28 14:50:46 +00:00
parent ce575dc0b9
commit 565bcbdce6

View File

@ -192,6 +192,7 @@ namespace{
if(!filename.isEmpty()) {
SUIT_OverrideCursor wc;
_PTR(Study) aStudy = SMESH::GetActiveStudyDocument();
theComponentMesh->SetCurrentStudy( _CAST(Study,aStudy)->GetStudy() );
try {
SMESH::mesh_array_var aMeshes = new SMESH::mesh_array;