]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0052610: Inactive "eye" icon after mesh compound creation
authorimn <imn@opencascade.com>
Tue, 3 Feb 2015 12:05:00 +0000 (15:05 +0300)
committerimn <imn@opencascade.com>
Tue, 3 Feb 2015 12:05:00 +0000 (15:05 +0300)
src/SMESHGUI/SMESHGUI_BuildCompoundDlg.cxx

index f25ed72cc0e5dd1e3eac755cccc95607fed77b13..5cd384f153c1d0f67eba82b137e9614e33923793 100644 (file)
@@ -333,8 +333,10 @@ bool SMESHGUI_BuildCompoundDlg::ClickOnApply()
       SMESH::UpdateView();
 
       _PTR(SObject) aSO = SMESH::FindSObject(aCompoundMesh.in());
-      if ( SMESH_Actor* anActor = SMESH::CreateActor(aSO->GetStudy(), aSO->GetID().c_str()) )
+      if ( SMESH_Actor* anActor = SMESH::CreateActor(aSO->GetStudy(), aSO->GetID().c_str()) ) {
         SMESH::DisplayActor(SMESH::GetActiveWindow(), anActor);
+        SMESH::UpdateView();
+      }
     }// end IPAL21468
 
     if( LightApp_Application* anApp =