File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -429,6 +429,7 @@ Color TileMap::get_layer_modulate(int p_layer) const {
429429
430430void TileMap::set_layer_y_sort_enabled (int p_layer, bool p_y_sort_enabled) {
431431 TILEMAP_CALL_FOR_LAYER (p_layer, set_y_sort_enabled, p_y_sort_enabled);
432+ update_configuration_warnings ();
432433}
433434
434435bool TileMap::is_layer_y_sort_enabled (int p_layer) const {
@@ -437,6 +438,7 @@ bool TileMap::is_layer_y_sort_enabled(int p_layer) const {
437438
438439void TileMap::set_layer_y_sort_origin (int p_layer, int p_y_sort_origin) {
439440 TILEMAP_CALL_FOR_LAYER (p_layer, set_y_sort_origin, p_y_sort_origin);
441+ update_configuration_warnings ();
440442}
441443
442444int TileMap::get_layer_y_sort_origin (int p_layer) const {
@@ -518,9 +520,6 @@ void TileMap::set_y_sort_enabled(bool p_enable) {
518520 return ;
519521 }
520522 Node2D::set_y_sort_enabled (p_enable);
521- for (TileMapLayer *layer : layers) {
522- layer->set_y_sort_enabled (p_enable);
523- }
524523 _emit_changed ();
525524 update_configuration_warnings ();
526525}
You can’t perform that action at this time.
0 commit comments