From: jfa Date: Fri, 16 Sep 2005 08:55:09 +0000 (+0000) Subject: Prevent connecting of not unloaded study: now SALOMEDS::Study::_name keeps full path... X-Git-Tag: V3_1_0a1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f4649de299e89a70e158876e5791abf883690cf;p=modules%2Fkernel.git Prevent connecting of not unloaded study: now SALOMEDS::Study::_name keeps full path of the study file --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx index 00c38c889..0189a3c5c 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx @@ -801,6 +801,7 @@ void SALOMEDSImpl_Study::URL(const TCollection_AsciiString& url) _errorCode = ""; _URL = url; + /*jfa: Now name of SALOMEDS study will correspond to name of SalomeApp study TCollection_AsciiString tmp(_URL); char *aName = (char*)tmp.ToCString(); @@ -810,7 +811,8 @@ void SALOMEDSImpl_Study::URL(const TCollection_AsciiString& url) aName = adr; adr = strtok(NULL, "/"); } - Name(aName); + Name(aName);*/ + Name(url); }