1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Renamed most signals so they refer to:

-An action being requested to the user in present tense: (ie, draw, gui_input, etc)
-A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
This commit is contained in:
Juan Linietsky
2017-01-12 00:51:08 -03:00
parent c84d618b4e
commit 83cb84753f
29 changed files with 239 additions and 239 deletions

View File

@@ -3248,12 +3248,12 @@ void AnimationKeyEditor::set_animation(const Ref<Animation>& p_anim) {
void AnimationKeyEditor::set_root(Node *p_root) {
if (root)
root->disconnect("exit_tree",this,"_root_removed");
root->disconnect("tree_exited",this,"_root_removed");
root=p_root;
if (root)
root->connect("exit_tree",this,"_root_removed",make_binds(),CONNECT_ONESHOT);
root->connect("tree_exited",this,"_root_removed",make_binds(),CONNECT_ONESHOT);
}