From 65d10af48ef52f2d51c7f43b5087dfead2603686 Mon Sep 17 00:00:00 2001 From: dcq Date: Fri, 16 Apr 2004 12:28:18 +0000 Subject: [PATCH] DCQ : Debug Build Presentation --- src/DisplayGUI/DisplayGUI.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/DisplayGUI/DisplayGUI.cxx b/src/DisplayGUI/DisplayGUI.cxx index 73235ed1b..45dc97b16 100644 --- a/src/DisplayGUI/DisplayGUI.cxx +++ b/src/DisplayGUI/DisplayGUI.cxx @@ -232,6 +232,11 @@ void DisplayGUI::BuildPresentation(const Handle(SALOME_InteractiveObject)& theIO if(theIO.IsNull()) MESSAGE("BuildPresentation(): null SALOME_InteractiveObject passed") + Standard_Boolean testResult; + GEOM::GEOM_Shape_var myGeomShape = myDisplayGUI->myGeomBase->ConvertIOinGEOMShape(theIO, testResult); + if(!testResult) + return; + if(QAD_Application::getDesktop()->getActiveStudy()->getActiveStudyFrame()->getTypeView() == VIEW_VTK) { // VTK -- 2.39.2