1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Add a flag to EditorResourcePicker to differentiate selection contexts

This commit is contained in:
Yuri Sizov
2021-11-02 14:15:14 +03:00
parent 44a532e99e
commit 5ff11a2c5c
6 changed files with 10 additions and 9 deletions

View File

@@ -2606,7 +2606,7 @@ void ThemeTypeEditor::_constant_item_changed(float p_value, String p_item_name)
edited_theme->set_constant(p_item_name, edited_type, int(p_value));
}
void ThemeTypeEditor::_edit_resource_item(RES p_resource) {
void ThemeTypeEditor::_edit_resource_item(RES p_resource, bool p_edit) {
EditorNode::get_singleton()->edit_resource(p_resource);
}