]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for the bug IPAL12291: 3x REGR: 3D selection disappears in VTK if to display... BR_WIN_INDUS_514
authorana <ana@opencascade.com>
Mon, 17 Jan 2011 10:34:09 +0000 (10:34 +0000)
committerana <ana@opencascade.com>
Mon, 17 Jan 2011 10:34:09 +0000 (10:34 +0000)
src/LightApp/LightApp_ShowHideOp.cxx

index d2d3608d92ab5a952f5c17cc04812684f0560a53..c6c214df65058dd2300126103fcb348d78a556e8 100644 (file)
@@ -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 );
   }