From e81834ae1c98fa0645f5feb40ea5fa4d8833540f Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 24 May 2005 10:34:51 +0000 Subject: [PATCH] IPAL8862: T1.5: Clipping planes item has to be removed from the popup of presentations in OCC and Plot2d viewers --- 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 63ebe064..94d639fc 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -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 || -- 2.39.2