You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add shorthand for using singleton string names
This commit is contained in:
@@ -221,7 +221,7 @@ void AnimationTreeEditor::remove_plugin(AnimationTreeNodeEditorPlugin *p_editor)
|
||||
}
|
||||
|
||||
String AnimationTreeEditor::get_base_path() {
|
||||
String path = SceneStringNames::get_singleton()->parameters_base_path;
|
||||
String path = SceneStringName(parameters_base_path);
|
||||
for (int i = 0; i < edited_path.size(); i++) {
|
||||
path += edited_path[i] + "/";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user