texture swapper: fix render update
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user