You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Update import dock when editing a resource from the inspector
This commit is contained in:
@@ -1623,6 +1623,7 @@ void EditorNode::_resource_selected(const RES &p_res, const String &p_property)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
RES r = p_res;
|
RES r = p_res;
|
||||||
|
EditorNode::get_singleton()->get_import_dock()->set_edit_path(r->get_path());
|
||||||
push_item(r.operator->(), p_property);
|
push_item(r.operator->(), p_property);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user