1
0
Fork 0

#424: Don't page out AI objects. Just load lazily.

Changes commit 1e7d072eed and uses the new
deferred loading - instead of paged (un)loading.
This commit is contained in:
ThorstenB 2011-11-10 22:12:54 +01:00
parent 7aae4484d1
commit 1eb8d0caa4

View file

@ -267,7 +267,7 @@ bool FGAIBase::init(bool search_in_AI_path) {
else else
_installed = true; _installed = true;
osg::Node * mdl = SGModelLib::loadPagedModel(f, props, new FGNasalModelData(props)); osg::Node * mdl = SGModelLib::loadDeferredModel(f, props, new FGNasalModelData(props));
if (_model.valid()) if (_model.valid())
{ {