浏览代码

Fix broken patterns on TileMap layer change

kobewi 3 年之前
父节点
当前提交
aafe72fcec
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/plugins/tiles/tile_map_editor.cpp

+ 1 - 0
editor/plugins/tiles/tile_map_editor.cpp

@@ -3677,6 +3677,7 @@ void TileMapEditor::_update_layers_selection() {
 		tile_map_layer = -1;
 	}
 	tile_map->set_selected_layer(toggle_highlight_selected_layer_button->is_pressed() ? tile_map_layer : -1);
+	tileset_changed_needs_update = false; // Update is not needed here and actually causes problems.
 
 	layers_selection_button->clear();
 	if (tile_map->get_layers_count() > 0) {