Salome HOME
IPAL54046: 'Show' command of SMESH component does not work
authoreap <eap@opencascade.com>
Tue, 14 Mar 2017 13:42:44 +0000 (16:42 +0300)
committereap <eap@opencascade.com>
Tue, 14 Mar 2017 13:42:44 +0000 (16:42 +0300)
src/SMESHGUI/SMESHGUI_VTKUtils.cxx

index e0543bc..5c5bbab 100644 (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();