mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove RES and REF typedefs in favor of spelled out Ref<>
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
This commit is contained in:
parent
8762286110
commit
180e5d3028
147 changed files with 607 additions and 611 deletions
|
|
@ -3472,7 +3472,7 @@ void EditorInspector::_object_id_selected(const String &p_path, ObjectID p_id) {
|
|||
emit_signal(SNAME("object_id_selected"), p_id);
|
||||
}
|
||||
|
||||
void EditorInspector::_resource_selected(const String &p_path, RES p_resource) {
|
||||
void EditorInspector::_resource_selected(const String &p_path, Ref<Resource> p_resource) {
|
||||
emit_signal(SNAME("resource_selected"), p_resource, p_path);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue