You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +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:
@@ -195,7 +195,7 @@ void SpriteFrames::_set_animations(const Array &p_animations) {
|
||||
anim.loop = d["loop"];
|
||||
Array frames = d["frames"];
|
||||
for (int j = 0; j < frames.size(); j++) {
|
||||
RES res = frames[j];
|
||||
Ref<Resource> res = frames[j];
|
||||
anim.frames.push_back(res);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user