From 351b2c8ea584f911f5cf43ec8422dc449455a208 Mon Sep 17 00:00:00 2001 From: san Date: Thu, 16 Jun 2005 14:25:56 +0000 Subject: [PATCH] Display/Erase popup commands for curves added --- src/VISUGUI/VisuGUI.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 7d113a8b..be5ed4bc 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -623,21 +623,21 @@ OnDisplayPrs() if(MYDEBUG) MESSAGE("VisuGUI::OnDisplayPrs : Curve object"); PlotCurve( this, aCurve, VISU::eDisplay ); return; - }/* + } // is it Container ? VISU::Container_i* aContainer = dynamic_cast(VISU::GetServant(anObject).in()); if(aContainer){ if(MYDEBUG) MESSAGE("VisuGUI::DisplayPrs : Container object"); - PlotContainer(aContainer, VISU::eDisplay ); + PlotContainer( this, aContainer, VISU::eDisplay ); return; } // is it Table ? VISU::Table_i* aTable = dynamic_cast(VISU::GetServant(anObject).in()); if(aTable){ if(MYDEBUG) MESSAGE("VisuGUI::DisplayPrs : Table object"); - PlotTable(aTable, VISU::eDisplay ); + PlotTable( this, aTable, VISU::eDisplay ); return; - }*/ + } } } @@ -2138,9 +2138,9 @@ createPopupMenus() "'VISU::TMESH' 'VISU::TSCALARMAP' 'VISU::TISOSURFACE' 'VISU::TDEFORMEDSHAPE' " "'VISU::TCUTPLANES' 'VISU::TCUTLINES' 'VISU::TVECTORS' 'VISU::TSTREAMLINES'})"; mgr->insert( action( 4030 ), -1, -1, -1 ); // erase - mgr->setRule( action( 4030 ), aRule.arg(" and isVisible=1"), true ); + mgr->setRule( action( 4030 ), aRule.arg(""), true );// TODO: aRule.arg(" and isVisible=1"), true ); mgr->insert( action( 4031 ), -1, -1, -1 ); // display - mgr->setRule( action( 4031 ), aRule.arg(" and isVisible=0"), true ); + mgr->setRule( action( 4031 ), aRule.arg(""), true );// TODO: aRule.arg(" and isVisible=0"), true ); mgr->insert( action( 4032 ), -1, -1, -1 ); // display only mgr->setRule( action( 4032 ), aRule.arg(""), true ); -- 2.39.2