Fix bug where TileMap will not update material correct on assignment
This seemed to be a simple case of a missing condition in an if statement with a few different flags. I'm not super familiar with the tilemap code but hopefully this is the correct place to add this check. Fixes #83474
This commit is contained in:
parent
fd33c7b32f
commit
f17a569ccf
@ -407,6 +407,7 @@ void TileMapLayer::_rendering_update() {
|
||||
// Updates on TileMap changes.
|
||||
if (dirty.flags[DIRTY_FLAGS_TILE_MAP_LIGHT_MASK] ||
|
||||
dirty.flags[DIRTY_FLAGS_TILE_MAP_USE_PARENT_MATERIAL] ||
|
||||
dirty.flags[DIRTY_FLAGS_TILE_MAP_MATERIAL] ||
|
||||
dirty.flags[DIRTY_FLAGS_TILE_MAP_TEXTURE_FILTER] ||
|
||||
dirty.flags[DIRTY_FLAGS_TILE_MAP_TEXTURE_REPEAT]) {
|
||||
for (KeyValue<Vector2i, Ref<RenderingQuadrant>> &kv : rendering_quadrant_map) {
|
||||
|
Loading…
Reference in New Issue
Block a user