Merge pull request #83475 from Eoin-ONeill-Yokai/bug/tilemap-materials
Fix bug where TileMap wouldn't update material correctly on assignment
This commit is contained in:
commit
ab8fad1b24
1 changed files with 1 additions and 0 deletions
|
@ -407,6 +407,7 @@ void TileMapLayer::_rendering_update() {
|
||||||
// Updates on TileMap changes.
|
// Updates on TileMap changes.
|
||||||
if (dirty.flags[DIRTY_FLAGS_TILE_MAP_LIGHT_MASK] ||
|
if (dirty.flags[DIRTY_FLAGS_TILE_MAP_LIGHT_MASK] ||
|
||||||
dirty.flags[DIRTY_FLAGS_TILE_MAP_USE_PARENT_MATERIAL] ||
|
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_FILTER] ||
|
||||||
dirty.flags[DIRTY_FLAGS_TILE_MAP_TEXTURE_REPEAT]) {
|
dirty.flags[DIRTY_FLAGS_TILE_MAP_TEXTURE_REPEAT]) {
|
||||||
for (KeyValue<Vector2i, Ref<RenderingQuadrant>> &kv : rendering_quadrant_map) {
|
for (KeyValue<Vector2i, Ref<RenderingQuadrant>> &kv : rendering_quadrant_map) {
|
||||||
|
|
Loading…
Reference in a new issue