]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
DCQ : Debug Build Presentation
authordcq <dcq@opencascade.com>
Fri, 16 Apr 2004 12:28:18 +0000 (12:28 +0000)
committerdcq <dcq@opencascade.com>
Fri, 16 Apr 2004 12:28:18 +0000 (12:28 +0000)
src/DisplayGUI/DisplayGUI.cxx

index 73235ed1b2638f44061cac6da7de74c624048df7..45dc97b162c98b9bccf7af63f36c7927ea896996 100644 (file)
@@ -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