mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
1eb250e17d
When node tree `A` is not in the tree, `remove_child(B)` will not automatically clean up the owners of `B` and `B`'s child nodes. This is convenient for implementing operations like `replace_by()`, but may have hidden dangers when manipulating the rest of the tree `A`. This commit makes it safe to manipulate the rest of `A` after freeing `B`. |
||
---|---|---|
.. | ||
canvas_item.cpp | ||
canvas_item.h | ||
canvas_layer.cpp | ||
canvas_layer.h | ||
http_request.cpp | ||
http_request.h | ||
instance_placeholder.cpp | ||
instance_placeholder.h | ||
missing_node.cpp | ||
missing_node.h | ||
multiplayer_api.cpp | ||
multiplayer_api.h | ||
multiplayer_peer.cpp | ||
multiplayer_peer.h | ||
node.cpp | ||
node.h | ||
resource_preloader.cpp | ||
resource_preloader.h | ||
scene_tree.cpp | ||
scene_tree.h | ||
SCsub | ||
shader_globals_override.cpp | ||
shader_globals_override.h | ||
timer.cpp | ||
timer.h | ||
viewport.cpp | ||
viewport.h | ||
window.cpp | ||
window.h |