From: mpa Date: Fri, 18 Apr 2014 11:16:35 +0000 (+0400) Subject: INT PAL 0052373: TC7.4.0:Dump study failed X-Git-Tag: V7_4_0rc1~12^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e5d11dbc846edb4566a0736b3bcd9ad92fda2313;p=modules%2Fkernel.git INT PAL 0052373: TC7.4.0:Dump study failed --- 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());