mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
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
@ -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