From 93307270a81e3d4c82ad7e304efced16a30859f2 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Sun, 13 Nov 2011 14:29:28 +0100 Subject: [PATCH] Use lazy loading for main aircraft instead of paging. --- src/Model/modelmgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/modelmgr.cxx b/src/Model/modelmgr.cxx index 2e6ad72bc..139cf2d4f 100644 --- a/src/Model/modelmgr.cxx +++ b/src/Model/modelmgr.cxx @@ -75,7 +75,7 @@ FGModelMgr::add_model (SGPropertyNode * node) osg::Node *object; try { - object = SGModelLib::loadPagedModel(path, globals->get_props()); + object = SGModelLib::loadDeferredModel(path, globals->get_props()); } catch (const sg_throwable& t) { SG_LOG(SG_GENERAL, SG_ALERT, "Error loading " << path << ":\n " << t.getFormattedMessage() << t.getOrigin()); -- 2.39.5