mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-17 02:42:45 +00:00
fixed a texture indexing bug (only affects the editor)
(cherry picked from commit 73f6efddcc1b6f5816f9f775418c6317cf74ee20)
This commit is contained in:
parent
25952369ae
commit
1784701b47
@ -179,6 +179,9 @@ void CSMTools::MergeLandTexturesStage::perform (int stage, CSMDoc::Messages& mes
|
||||
CSMWorld::LandTexture texture =
|
||||
mState.mSource.getData().getLandTextures().getRecord (index).get();
|
||||
|
||||
std::ostringstream stream;
|
||||
stream << mNext->second << "_0";
|
||||
|
||||
texture.mIndex = mNext->second;
|
||||
texture.mId = stream.str();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user