From eaf4143ad5f9a49eb09740ca25c3cf0fdc811aa2 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 10 May 2006 07:12:02 +0000 Subject: [PATCH] To make the code compilable (must to be uncommented in future) --- src/VISUGUI/VisuGUI.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 04efddee..0431e7db 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2706,16 +2706,16 @@ void VisuGUI::contextMenuPopup( const QString& theClient, QPopupMenu* theMenu, Q if (isExist && aType == VISU::TCURVE) { isCurves = true; } else { - CORBA::Object_var anObject = GetSelectedObj(GetAppStudy(this), anIO->getEntry()); - if (!CORBA::is_nil(anObject)) { - VISU::Prs3d_i* aPrsObject = dynamic_cast(VISU::GetServant(anObject).in()); - if (aPrsObject->GetType() == VISU::TCUTPLANES) { - VISU::CutPlanes_i* aCutPrs = dynamic_cast(aPrsObject); - if (aCutPrs) { - isOneCutPlane = aCutPrs->GetNbPlanes() == 1; - } - } - } + //CORBA::Object_var anObject = GetSelectedObj(GetAppStudy(this), anIO->getEntry()); + //if (!CORBA::is_nil(anObject)) { + // VISU::Prs3d_i* aPrsObject = dynamic_cast(VISU::GetServant(anObject).in()); + // if (aPrsObject->GetType() == VISU::TCUTPLANES) { + // VISU::CutPlanes_i* aCutPrs = dynamic_cast(aPrsObject); + // if (aCutPrs) { + // isOneCutPlane = aCutPrs->GetNbPlanes() == 1; + // } + // } + //} } } } -- 2.39.2