mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 08:39:45 +00:00
fixed a texture indexing bug (only affects the editor)
This commit is contained in:
parent
a8dc1c1198
commit
73f6efddcc
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue