1
0
Fork 0

This 'fixes' #613 but partly re-introduces #553.

This commit is contained in:
ThorstenB 2012-01-29 10:18:06 +01:00
parent 65628aab54
commit 33c63a6d72

View file

@ -257,8 +257,8 @@ FGTileMgr::loadTileModel(const string& modelPath, bool cacheModel)
* so we can run the Nasal stuff in the main thread.
*/
result=
SGModelLib::loadDeferredModel(fullPath.str(), globals->get_props()/*,
new FGNasalModelData*/);
SGModelLib::loadDeferredModel(fullPath.str(), globals->get_props(),
_disableNasalHooks->getBoolValue() ? NULL : new FGNasalModelData);
}
} catch (const sg_io_exception& exc) {
string m(exc.getMessage());