summaryrefslogtreecommitdiff
path: root/scene/gui/subviewport_container.cpp
diff options
context:
space:
mode:
authorJason Yundt <jason@jasonyundt.email>2022-07-28 17:25:57 -0400
committerJason Yundt <jason@jasonyundt.email>2022-09-07 17:06:33 -0400
commit69963ffaa346017439bbd0c66a83831e5b1a878b (patch)
treec129971c3c64caf1227e64ee29c73b8e4d3d80ca /scene/gui/subviewport_container.cpp
parentd1be14a9cbb10721d998a936169a55fa464dc687 (diff)
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.
Diffstat (limited to 'scene/gui/subviewport_container.cpp')
0 files changed, 0 insertions, 0 deletions