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:
Hugo Locurcio
2022-05-03 01:43:50 +02:00
parent 8762286110
commit 180e5d3028
147 changed files with 607 additions and 611 deletions

View File

@@ -797,7 +797,7 @@ void GridMap::clear() {
clear_baked_meshes();
}
void GridMap::resource_changed(const RES &p_res) {
void GridMap::resource_changed(const Ref<Resource> &p_res) {
_recreate_octant_data();
}

View File

@@ -181,7 +181,7 @@ class GridMap : public Node3D {
void _queue_octants_dirty();
void _update_octants_callback();
void resource_changed(const RES &p_res);
void resource_changed(const Ref<Resource> &p_res);
void _clear_internal();