From 8d0e3b500468d1f944d24181145c3f50595dacfc Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 21 Sep 2006 13:14:17 +0000 Subject: [PATCH] Fix for bug PAL13475(Wrong selection of objects after Display/Erase from Python console/module). --- src/SOCC/SOCC_ViewModel.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/SOCC/SOCC_ViewModel.cxx b/src/SOCC/SOCC_ViewModel.cxx index 8d425a47c..8d27c10a7 100755 --- a/src/SOCC/SOCC_ViewModel.cxx +++ b/src/SOCC/SOCC_ViewModel.cxx @@ -521,12 +521,8 @@ void SOCC_Viewer::EraseAll( const bool forced ) // } //} } - - // display trihedron if necessary - if ( isTrihedronDisplayed ) - getAISContext()->Display( getTrihedron() ); - else - Repaint(); + + Repaint(); } /*! -- 2.39.2