IPAL54046: 'Show' command of SMESH component does not work

This commit is contained in:
eap 2017-03-14 16:42:44 +03:00
parent 9dd045b97c
commit ae0ca1f89f

View File

@ -762,6 +762,7 @@ namespace SMESH
if ((anActor = CreateActor(aDocument,theEntry,true))) {
bool needFitAll = noSmeshActors(theWnd); // fit for the first object only
DisplayActor(theWnd,anActor);
anActor->SetVisibility(true);
aStudy->setVisibilityState(theEntry, Qtx::ShownState);
// FitAll(); - PAL16770(Display of a group performs an automatic fit all)
if (needFitAll) FitAll();