X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FLightApp%2FLightApp_Displayer.cxx;h=a490d9c88aea278dca564de494ef5eaa5e16e9b7;hb=45e0e6dbad804e64caa86f1e692e7c5fa849e071;hp=cde6ceadf9a2e25c4f0ccc312e17d371905211d1;hpb=6878ef4d7381638ec39d1ca9d03afc21a69401aa;p=modules%2Fgui.git diff --git a/src/LightApp/LightApp_Displayer.cxx b/src/LightApp/LightApp_Displayer.cxx index cde6ceadf..a490d9c88 100644 --- a/src/LightApp/LightApp_Displayer.cxx +++ b/src/LightApp/LightApp_Displayer.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -88,7 +88,7 @@ void LightApp_Displayer::Display( const QStringList& list, const bool updateView { myLastEntry = *it; vf->BeforeDisplay( this, prs ); - vf->Display( prs ); + vf->Display( this, prs ); vf->AfterDisplay( this, prs ); if ( updateViewer ) @@ -97,7 +97,6 @@ void LightApp_Displayer::Display( const QStringList& list, const bool updateView delete prs; // delete presentation because displayer is its owner setVisibilityState(*it, Qtx::ShownState); } - } } @@ -174,7 +173,7 @@ void LightApp_Displayer::Erase( const QStringList& list, const bool forced, if ( prs ) { myLastEntry = *it; vf->BeforeErase( this, prs ); - vf->Erase( prs, forced ); + vf->Erase( this, prs, forced ); vf->AfterErase( this, prs ); if ( updateViewer ) vf->Repaint(); @@ -190,12 +189,12 @@ void LightApp_Displayer::Erase( const QStringList& list, const bool forced, \param updateViewer - is it necessary to update viewer \param theViewFrame - view */ -void LightApp_Displayer::EraseAll( const bool forced, const bool updateViewer, SALOME_View* theViewFrame ) const +void LightApp_Displayer::EraseAll( const bool forced, const bool updateViewer, SALOME_View* theViewFrame ) { SALOME_View* vf = theViewFrame ? theViewFrame : GetActiveView(); if ( vf ) { - vf->EraseAll( forced ); + vf->EraseAll( this, forced ); if ( updateViewer ) vf->Repaint(); }