mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-02 03:14:29 +05:00
Fix of bug 0022506: [CEA 1086] Import in GEOM returns "unknown exception"
This commit is contained in:
parent
f095bd1733
commit
05a2e86bac
@ -563,7 +563,8 @@ Standard_Boolean GEOMImpl_IInsertOperations::InitResMgr()
|
|||||||
myResMgrList.clear();
|
myResMgrList.clear();
|
||||||
|
|
||||||
// Initialize the GEOM Resource Manager
|
// Initialize the GEOM Resource Manager
|
||||||
TCollection_AsciiString aResDir = TCollection_AsciiString(getenv("GEOM_ROOT_DIR"));
|
TCollection_AsciiString aResDir;
|
||||||
|
aResDir = getenv("GEOM_ROOT_DIR");
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
aResDir += "\\share\\salome\\resources\\geom";
|
aResDir += "\\share\\salome\\resources\\geom";
|
||||||
#else
|
#else
|
||||||
@ -576,7 +577,8 @@ Standard_Boolean GEOMImpl_IInsertOperations::InitResMgr()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Initialize the user's Resource Manager
|
// Initialize the user's Resource Manager
|
||||||
TCollection_AsciiString aResDirsStr = getenv("GEOM_ENGINE_RESOURCES_DIR");
|
TCollection_AsciiString aResDirsStr;
|
||||||
|
aResDirsStr = getenv("GEOM_ENGINE_RESOURCES_DIR");
|
||||||
if ( !aResDirsStr.IsEmpty() )
|
if ( !aResDirsStr.IsEmpty() )
|
||||||
{
|
{
|
||||||
std::string aSep = ":";
|
std::string aSep = ":";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user