You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix error spam when deselecting TileMap
This commit is contained in:
@@ -687,7 +687,7 @@ void TileSetEditor::_undo_redo_inspector_callback(Object *p_undo_redo, Object *p
|
|||||||
|
|
||||||
void TileSetEditor::edit(Ref<TileSet> p_tile_set) {
|
void TileSetEditor::edit(Ref<TileSet> p_tile_set) {
|
||||||
bool new_read_only_state = false;
|
bool new_read_only_state = false;
|
||||||
if (tile_set.is_valid()) {
|
if (p_tile_set.is_valid()) {
|
||||||
new_read_only_state = EditorNode::get_singleton()->is_resource_read_only(p_tile_set);
|
new_read_only_state = EditorNode::get_singleton()->is_resource_read_only(p_tile_set);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user