You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Add shorthand for using singleton string names
This commit is contained in:
@@ -277,5 +277,5 @@ void SpriteFrames::_bind_methods() {
|
||||
}
|
||||
|
||||
SpriteFrames::SpriteFrames() {
|
||||
add_animation(SceneStringNames::get_singleton()->_default);
|
||||
add_animation(SceneStringName(default_));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user