From: mzn Date: Thu, 28 Jul 2005 14:50:46 +0000 (+0000) Subject: Fix for bug IPAL9621 ( 3.0.0(current2807): Regression: SMESH ? Engine error during... X-Git-Tag: V3_0_1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=565bcbdce6352acdf44e547777f08332f43e7596;p=modules%2Fsmesh.git Fix for bug IPAL9621 ( 3.0.0(current2807): Regression: SMESH ? Engine error during import med file ). --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 04afcf817..f9b07317f 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -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;