]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
IPAL8862: T1.5: Clipping planes item has to be removed from the popup of presentation...
authorjfa <jfa@opencascade.com>
Tue, 24 May 2005 10:34:51 +0000 (10:34 +0000)
committerjfa <jfa@opencascade.com>
Tue, 24 May 2005 10:34:51 +0000 (10:34 +0000)
src/VISUGUI/VisuGUI.cxx

index 63ebe064072b11273f66fd1bdca85d1592513604..94d639fc4ed7cf11108d5abe5508daa0b9edf715 100644 (file)
@@ -3171,10 +3171,10 @@ bool VisuGUI::CustomPopup (QAD_Desktop* parent, QPopupMenu* thePopup, const QStr
              
            }
 
-            thePopup->insertItem("Translate...", visuGUI, SLOT(TranslatePrs()));
-            thePopup->insertItem("Clipping planes", visuGUI, SLOT(ClippingPlanes()));
-
            if (isVTKViewer) {
+              thePopup->insertItem("Translate...", visuGUI, SLOT(TranslatePrs()));
+              thePopup->insertItem("Clipping planes", visuGUI, SLOT(ClippingPlanes()));
+
              if ( theParent == "Viewer" && 
                   ( aType == VISU::TMESH      || 
                     aType == VISU::TSCALARMAP ||