godot/scene
Jason Yundt 69963ffaa3 Rename change_scene() and change_scene_to()
Before this change, the SceneTree had methods named “change_scene” and
“change_scene_to”. One of them accepted a String as a parameter and the
other accepted a PackedScene, but you couldn’t tell which one was which
just by looking at their names.

This change renames those two methods to “change_scene_to_file” and
“change_scene_to_packed”. These new names came from this suggestion [1].
These new names make the difference between the two methods more clear
and hint at the fact that there’s more than one change_scene method.

[1]: <https://github.com/godotengine/godot/issues/27640#issuecomment-1081870955>

Fixes #27640.
2022-09-07 17:06:33 -04:00
..
2d handled edge case where navigation_link_2d is outside of the tree when calling _edit_get_rect() 2022-09-07 00:05:56 +02:00
3d Fix AudioStreamPlayer not resuming after returning to SceneTree 2022-09-05 16:52:46 +02:00
animation Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOT 2022-09-06 19:00:33 +02:00
audio Fix AudioStreamPlayer not resuming after returning to SceneTree 2022-09-05 16:52:46 +02:00
debugger Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
gui Merge pull request #65375 from ItsNL/fix-accep-dialog-its_inside_tree-false 2022-09-07 17:53:46 +02:00
main Rename change_scene() and change_scene_to() 2022-09-07 17:06:33 -04:00
resources Merge pull request #59069 from fire-forge/stylebox_margin_functions 2022-09-07 17:52:58 +02:00
theme Un-defer the initial theme changed notification 2022-09-02 23:44:23 +03:00
property_utils.cpp Cleanup and move char functions to the char_utils.h header. 2022-02-04 11:35:01 +02:00
property_utils.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_scene_types.cpp Add compatibility class for VisualShaderNodeFloatUniform 2022-09-06 08:04:46 +03:00
register_scene_types.h Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00
scene_string_names.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
scene_string_names.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00