Fixes set_source_id not updating the next automatic source id

This commit is contained in:
Gilles Roudière 2021-10-11 14:58:42 +02:00
parent 0a8b35b7c9
commit 89a6c6cd84

View File

@ -171,6 +171,8 @@ void TileSet::set_source_id(int p_source_id, int p_new_source_id) {
source_ids.append(p_new_source_id);
source_ids.sort();
_compute_next_source_id();
emit_changed();
}