From: dcq Date: Fri, 16 Apr 2004 12:28:18 +0000 (+0000) Subject: DCQ : Debug Build Presentation X-Git-Tag: Ecole_Ete_a2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65d10af48ef52f2d51c7f43b5087dfead2603686;p=modules%2Fgeom.git DCQ : Debug Build Presentation --- 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