disable on-demand loading of land data (for now, maybe)

sceneinput
Marc Zinnschlag 9 years ago
parent 23fde87816
commit 5be176ee85

@ -955,8 +955,10 @@ bool CSMWorld::Data::continueLoading (CSMDoc::Messages& messages)
{ {
int index = mLand.load(*mReader, mBase); int index = mLand.load(*mReader, mBase);
if (index!=-1 && !mBase) // Load all land data for now. A future optimisation may only load non-base data
mLand.getRecord (index).mModified.loadData ( // if a suitable mechanism for avoiding race conditions can be established.
if (index!=-1/* && !mBase*/)
mLand.getRecord (index).get().loadData (
ESM::Land::DATA_VHGT | ESM::Land::DATA_VNML | ESM::Land::DATA_VCLR | ESM::Land::DATA_VHGT | ESM::Land::DATA_VNML | ESM::Land::DATA_VCLR |
ESM::Land::DATA_VTEX | ESM::Land::DATA_WNAM); ESM::Land::DATA_VTEX | ESM::Land::DATA_WNAM);

Loading…
Cancel
Save