]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
#20430 [CEA 20428] FIELDS : improvement of simplified visualisations: using SALOME...
authorrnv <rnv@opencascade.com>
Wed, 17 Mar 2021 14:42:42 +0000 (17:42 +0300)
committerrnv <rnv@opencascade.com>
Wed, 17 Mar 2021 14:42:42 +0000 (17:42 +0300)
src/LightApp/LightApp_Application.cxx

index 249ce2fd1a3f12f2a58ff382335163dbd5bc750c..307f34ce788e5e8e49ac61b802eea99b3e434677 100644 (file)
@@ -5278,7 +5278,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;