mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 05:33:11 +00:00
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.sort();
|
||||
|
||||
_compute_next_source_id();
|
||||
|
||||
emit_changed();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user