diff --git a/src/noggit/MapChunk.cpp b/src/noggit/MapChunk.cpp index 948231e9..7b40d3a6 100644 --- a/src/noggit/MapChunk.cpp +++ b/src/noggit/MapChunk.cpp @@ -1271,6 +1271,7 @@ int MapChunk::addTexture(scoped_blp_texture_reference texture) void MapChunk::switchTexture(scoped_blp_texture_reference const& oldTexture, scoped_blp_texture_reference newTexture) { texture_set->replace_texture(oldTexture, std::move (newTexture)); + registerChunkUpdate(ChunkUpdateFlags::ALPHAMAP); } bool MapChunk::paintTexture(glm::vec3 const& pos, Brush* brush, float strength, float pressure, scoped_blp_texture_reference texture)