From e5d11dbc846edb4566a0736b3bcd9ad92fda2313 Mon Sep 17 00:00:00 2001 From: mpa Date: Fri, 18 Apr 2014 15:16:35 +0400 Subject: [PATCH] INT PAL 0052373: TC7.4.0:Dump study failed --- src/SALOMEDS/SALOMEDS_Driver_i.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SALOMEDS/SALOMEDS_Driver_i.cxx b/src/SALOMEDS/SALOMEDS_Driver_i.cxx index a179db962..18bc5e7f1 100644 --- a/src/SALOMEDS/SALOMEDS_Driver_i.cxx +++ b/src/SALOMEDS/SALOMEDS_Driver_i.cxx @@ -27,6 +27,7 @@ #include "SALOMEDS_SComponent_i.hxx" #include "SALOMEDS_Study_i.hxx" #include "SALOMEDS.hxx" +#include #include #include CORBA_CLIENT_HEADER(SALOME_Session) @@ -357,6 +358,10 @@ SALOMEDS_DriverFactory_i::~SALOMEDS_DriverFactory_i() SALOMEDSImpl_Driver* SALOMEDS_DriverFactory_i::GetDriverByType(const std::string& theComponentType) { + + if ( theComponentType == SALOMEDSImpl_IParameters::getDefaultVisualComponent() ) + return NULL; // skip the "Interface Applicative" component + SALOMEDSImpl_Driver* driver = 0; CORBA::Object_var obj = SALOME_LifeCycleCORBA(_name_service).FindOrLoad_Component("FactoryServer", theComponentType.c_str()); -- 2.39.2