From ae0ca1f89f866034c1fa191468f14ad688721c40 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 14 Mar 2017 16:42:44 +0300 Subject: [PATCH] IPAL54046: 'Show' command of SMESH component does not work --- src/SMESHGUI/SMESHGUI_VTKUtils.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx index e0543bc05..5c5bbab52 100644 --- a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx @@ -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(); -- 2.30.2