Fixes set_source_id not updating the next automatic source id
This commit is contained in:
parent
0a8b35b7c9
commit
89a6c6cd84
@ -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.append(p_new_source_id);
|
||||||
source_ids.sort();
|
source_ids.sort();
|
||||||
|
|
||||||
|
_compute_next_source_id();
|
||||||
|
|
||||||
emit_changed();
|
emit_changed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user