From 3973a88c6e3546033718d7545bf7240283bc8be1 Mon Sep 17 00:00:00 2001 From: ana Date: Mon, 17 Jan 2011 10:34:09 +0000 Subject: [PATCH] Fix for the bug IPAL12291: 3x REGR: 3D selection disappears in VTK if to display a geometrical shape in Mesh. --- src/LightApp/LightApp_ShowHideOp.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_ShowHideOp.cxx b/src/LightApp/LightApp_ShowHideOp.cxx index d2d3608d9..c6c214df6 100644 --- a/src/LightApp/LightApp_ShowHideOp.cxx +++ b/src/LightApp/LightApp_ShowHideOp.cxx @@ -146,8 +146,10 @@ void LightApp_ShowHideOp::startOperation() for( QStringList::const_iterator it = entries.begin(), last = entries.end(); it!=last; it++ ) { QString e = study->referencedToEntry( *it ); - if( myActionType==DISPLAY || myActionType==DISPLAY_ONLY ) + if( myActionType==DISPLAY || myActionType==DISPLAY_ONLY ) { d->Display( e, false, 0 ); + mgr->setSelectedObjects(selObjs); + } else if( myActionType==ERASE ) d->Erase( e, false, false, 0 ); } -- 2.39.2