FGNasalModelData: use model XML path as module source
This commit is contained in:
parent
5b32c9ab1c
commit
3930967645
1 changed files with 1 additions and 1 deletions
|
@ -1125,7 +1125,7 @@ void FGNasalModelData::modelLoaded(const string& path, SGPropertyNode *prop,
|
|||
naRef arg[2];
|
||||
arg[0] = nasalSys->propNodeGhost(_root);
|
||||
arg[1] = nasalSys->propNodeGhost(prop);
|
||||
nasalSys->createModule(_module.c_str(), _module.c_str(), s, strlen(s),
|
||||
nasalSys->createModule(_module.c_str(), path.c_str(), s, strlen(s),
|
||||
_root, 2, arg);
|
||||
_props = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue