0052610: Inactive "eye" icon after mesh compound creation

This commit is contained in:
imn 2015-02-03 15:05:00 +03:00
parent 51b0f28786
commit 9d134b21b1

View 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 =