From: ThorstenB Date: Thu, 10 Nov 2011 21:12:54 +0000 (+0100) Subject: #424: Don't page out AI objects. Just load lazily. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1eb8d0caa4632b5c99d6a1889bfad60288c38772;p=flightgear.git #424: Don't page out AI objects. Just load lazily. Changes commit 1e7d072eed9060bede14ff04f8aca57237fad3cd and uses the new deferred loading - instead of paged (un)loading. --- diff --git a/src/AIModel/AIBase.cxx b/src/AIModel/AIBase.cxx index 93b8c1760..69442229c 100644 --- a/src/AIModel/AIBase.cxx +++ b/src/AIModel/AIBase.cxx @@ -267,7 +267,7 @@ bool FGAIBase::init(bool search_in_AI_path) { else _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()) {