]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
#20430 [CEA 20428] FIELDS : improvement of simplified visualisations. rnv/imps_20430
authorrnv <rnv@opencascade.com>
Mon, 25 Jan 2021 13:30:19 +0000 (16:30 +0300)
committerrnv <rnv@opencascade.com>
Mon, 25 Jan 2021 13:30:19 +0000 (16:30 +0300)
src/LightApp/LightApp_Application.cxx

index d9379a40acc3b64d9c470d541c307e98ac8985e4..6887ec295ad7eb7859eec3f1af3eb00c52ec566e 100644 (file)
@@ -5274,7 +5274,7 @@ void LightApp_Application::updateVisibilityState( DataObjectList& theList,
       if ( aDisplayer ) {
         Qtx::VisibilityState anObjState = Qtx::UnpresentableState;
         if ( aDisplayer->canBeDisplayed( obj->entry(), theViewModel->getType() ) ) {
-          if ( aView && aDisplayer->IsDisplayed( obj->entry(), aView ) )
+          if ( aDisplayer->IsDisplayed( obj->entry(), aView ) )
             anObjState = Qtx::ShownState;
           else
             anObjState = Qtx::HiddenState;