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
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue