Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c296e3c
)
Fix for bug PAL13948(Impossible to load VISU component in batch mode).
author
mzn
<mzn@opencascade.com>
Fri, 24 Nov 2006 12:27:25 +0000
(12:27 +0000)
committer
mzn
<mzn@opencascade.com>
Fri, 24 Nov 2006 12:27:25 +0000
(12:27 +0000)
src/Container/Container_i.cxx
patch
|
blob
|
history
diff --git
a/src/Container/Container_i.cxx
b/src/Container/Container_i.cxx
index 818c8a4009af765371cb17d730877481d6eb0aee..21091ea25d776733a7575a9c4430a31d4801dc10 100644
(file)
--- a/
src/Container/Container_i.cxx
+++ b/
src/Container/Container_i.cxx
@@
-806,7
+806,9
@@
Engines_Container_i::createInstance(string genericRegisterName,
PortableServer::ObjectId *id ; //not owner, do not delete (nore use var)
id = (Component_factory) ( _orb, _poa, _id, instanceName.c_str(),
aGenRegisterName.c_str() ) ;
-
+ if (id == NULL)
+ return iobject._retn();
+
// --- get reference & servant from id
CORBA::Object_var obj = _poa->id_to_reference(*id);