From 565bcbdce6352acdf44e547777f08332f43e7596 Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 28 Jul 2005 14:50:46 +0000 Subject: [PATCH] Fix for bug IPAL9621 ( 3.0.0(current2807): Regression: SMESH ? Engine error during import med file ). --- src/SMESHGUI/SMESHGUI.cxx | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2