From 9329ed3f2f2de76ae2fbe2fb5df8648925599d88 Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 13 Sep 2007 10:32:01 +0000 Subject: [PATCH] Fix for bug NPAL16810 (EDF PAL 561 : Selection Info not in context menu for ScalarMapOnDeformedShape). --- src/VISUGUI/VisuGUI.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 170aff64..905cc462 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2607,7 +2607,7 @@ VisuGUI // 3D presentations commands QString aPrsType = " and $type in {'VISU::TMESH' " + aPrsAll + "}"; - QString aInsideType = " and $type in {'VISU::TMESH' 'VISU::TSCALARMAP' 'VISU::TDEFORMEDSHAPE'}"; + QString anInsideType = " and $type in {'VISU::TMESH' 'VISU::TSCALARMAP' 'VISU::TDEFORMEDSHAPE' 'VISU::TSCALARMAPONDEFORMEDSHAPE'}"; QString aSurfFrameType = " and $type in {'VISU::TMESH' 'VISU::TSCALARMAP''VISU::TDEFORMEDSHAPE' 'VISU::TSCALARMAPONDEFORMEDSHAPE'}"; QString aSurfType = " and $type in {'VISU::TMESH' 'VISU::TSCALARMAP' 'VISU::TSCALARMAP' 'VISU::TISOSURFACES' 'VISU::TDEFORMEDSHAPE' 'VISU::TCUTPLANES' " " 'VISU::TPLOT3D' 'VISU::TSCALARMAPONDEFORMEDSHAPE'}"; @@ -2628,7 +2628,7 @@ VisuGUI mgr->setRule( action( VISU_POINTS ) , aRule + aPrsType + aNotPoints, true ); mgr->setRule( action( VISU_WIREFRAME ) , aRule + aPrsType + aNotWirefr, true ); mgr->setRule( action( VISU_SURFACE ) , aRule + aSurfType + aNotSurfac, true ); - mgr->setRule( action( VISU_INSIDEFRAME ) , aRule + aInsideType + aNotInside, true ); + mgr->setRule( action( VISU_INSIDEFRAME ) , aRule + anInsideType + aNotInside, true ); mgr->setRule( action( VISU_SURFACEFRAME ), aRule + aSurfFrameType + aNotSurffr, true ); mgr->setRule( action( VISU_SHRINK ) , aRule + aShrinkType + " and isShrunk=0", true ); @@ -2692,7 +2692,7 @@ VisuGUI mgr->setRule( action( VISU_SWEEP ), aRule, true ); // "Selection info" popup item - aRule = "client='VTKViewer' and selcount=1" + aInsideType; + aRule = "client='VTKViewer' and selcount=1" + anInsideType; mgr->setRule( action( VISU_SELECTION_INFO ), aRule, true ); aRule = "client='ObjectBrowser' and selcount>0"; -- 2.39.2