Salome HOME
Fix regressions
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_VTKUtils.cxx
index bd52efd4ba770957a18268d44ff4f7afc8aacbc4..5c5bbab522936705450cfde8bf5554ba1045539b 100644 (file)
@@ -372,7 +372,7 @@ namespace SMESH
       if ( freeMB > 0 && usedMB * 5 > freeMB ) {
         bool continu = false;
         if ( usedMB * 3 > freeMB )
-          // even dont try to show
+          // don't even try to show
           SUIT_MessageBox::warning(SMESHGUI::desktop(), QObject::tr("SMESH_WRN_WARNING"),
                                    QObject::tr("SMESH_NO_MESH_VISUALIZATION"));
         else
@@ -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();