Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduction of penta18 in VTK viewer
[modules/gui.git]
/
src
/
LightApp
/
LightApp_Displayer.cxx
diff --git
a/src/LightApp/LightApp_Displayer.cxx
b/src/LightApp/LightApp_Displayer.cxx
index cde6ceadf9a2e25c4f0ccc312e17d371905211d1..a490d9c88aea278dca564de494ef5eaa5e16e9b7 100644
(file)
--- a/
src/LightApp/LightApp_Displayer.cxx
+++ b/
src/LightApp/LightApp_Displayer.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
//
// 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 );
{
myLastEntry = *it;
vf->BeforeDisplay( this, prs );
- vf->Display( prs );
+ vf->Display(
this,
prs );
vf->AfterDisplay( this, prs );
if ( updateViewer )
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);
}
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 );
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();
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
*/
\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 ) {
{
SALOME_View* vf = theViewFrame ? theViewFrame : GetActiveView();
if ( vf ) {
- vf->EraseAll( forced );
+ vf->EraseAll(
this,
forced );
if ( updateViewer )
vf->Repaint();
}
if ( updateViewer )
vf->Repaint();
}