Fix converting to tileset crashes Godot if existing file is not tileset
also make TileSetEditorPlgn tile list updates the preview modulate
This commit is contained in:
parent
cc34406b5d
commit
ed3b080ca6
6 changed files with 63 additions and 18 deletions
|
|
@ -347,6 +347,7 @@ void TileSet::tile_set_modulate(int p_id, const Color &p_modulate) {
|
|||
ERR_FAIL_COND(!tile_map.has(p_id));
|
||||
tile_map[p_id].modulate = p_modulate;
|
||||
emit_changed();
|
||||
_change_notify("modulate");
|
||||
}
|
||||
|
||||
Color TileSet::tile_get_modulate(int p_id) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue