mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05: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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user