Fixed scene tree update after changing node name in tool script
This commit is contained in:
@@ -949,6 +949,7 @@ void Node::set_name(const String &p_name) {
|
||||
if (is_inside_tree()) {
|
||||
|
||||
emit_signal("renamed");
|
||||
get_tree()->node_renamed(this);
|
||||
get_tree()->tree_changed();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user