]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL21704 TC 5.1.4: Deflection Problem in VTK viewer
authordmv <dmv@opencascade.com>
Fri, 23 Apr 2010 08:34:14 +0000 (08:34 +0000)
committerdmv <dmv@opencascade.com>
Fri, 23 Apr 2010 08:34:14 +0000 (08:34 +0000)
src/GEOMGUI/GeometryGUI.cxx

index 43599913aa7cf01ca7fa7b52a130cbca98c8171d..a9d3622dcd871ce73a2d6ed966b8713e1efb152d 100644 (file)
@@ -1051,7 +1051,7 @@ void GeometryGUI::initialize( CAM_Application* app )
   mgr->insert( action(  GEOMOp::OpIsos ), -1, -1 ); // isos
   mgr->setRule( action( GEOMOp::OpIsos ), clientOCCorVTK_AndSomeVisible + " and selcount>0 and isVisible", QtxPopupMgr::VisibleRule );
   mgr->insert( action(  GEOMOp::OpDeflection ), -1, -1 ); // deflection
-  mgr->setRule( action( GEOMOp::OpDeflection ), clientOCCorVTK_AndSomeVisible + " and selcount>0 and isVisible", QtxPopupMgr::VisibleRule );
+  mgr->setRule( action( GEOMOp::OpDeflection ), "selcount>0 and isVisible and client='OCCViewer'", QtxPopupMgr::VisibleRule );
   mgr->insert( action(  GEOMOp::OpPointMarker ), -1, -1 ); // point marker
   mgr->setRule( action( GEOMOp::OpPointMarker ), QString( "selcount>0 and $typeid in {%1}" ).arg( GEOM_POINT ), QtxPopupMgr::VisibleRule );
   mgr->insert( separator(), -1, -1 );     // -----------