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 f25ed72..5cd384f 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 =