You've already forked godot
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:
@@ -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);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user