Merge pull request #65471 from KoBeWi/s
Fix tile source selection from picking
This commit is contained in:
commit
0bd4a421bd
1 changed files with 1 additions and 1 deletions
|
@ -1359,11 +1359,11 @@ void TileMapEditorTilesPlugin::_stop_dragging() {
|
|||
for (int i = 0; i < sources_list->get_item_count(); i++) {
|
||||
if (int(sources_list->get_item_metadata(i)) == picked_source) {
|
||||
sources_list->set_current(i);
|
||||
TilesEditorPlugin::get_singleton()->set_sources_lists_current(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
sources_list->ensure_current_is_visible();
|
||||
TilesEditorPlugin::get_singleton()->set_sources_lists_current(picked_source);
|
||||
}
|
||||
|
||||
Ref<TileMapPattern> new_selection_pattern = tile_map->get_pattern(tile_map_layer, coords_array);
|
||||
|
|
Loading…
Reference in a new issue