1
0
Fork 0

if a local (ai/mp) root node is given, append it to the module name, so

that one instance doesn't destroy the namespace of all other instances
This commit is contained in:
mfranz 2007-10-01 15:59:24 +00:00
parent 539c1891d3
commit c8de2cd08b

View file

@ -925,6 +925,8 @@ void FGNasalModelData::modelLoaded(const string& path, SGPropertyNode *prop,
return;
_module = path;
if(_props)
_module += ':' + _props->getPath();
const char *s = load ? load->getStringValue() : "";
nasalSys->createModule(_module.c_str(), _module.c_str(), s, strlen(s), _props);
}