]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 e0543bc05ad2ea41a1aac3d8e31cd4e2eb1dcc7b..5c5bbab522936705450cfde8bf5554ba1045539b 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();