You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Makes all Godot API's methods Lower Case
This commit is contained in:
@@ -411,9 +411,9 @@ void SceneTreeEditor::_update_tree() {
|
||||
|
||||
void SceneTreeEditor::_compute_hash(Node *p_node, uint64_t &hash) {
|
||||
|
||||
hash = hash_djb2_one_64(p_node->get_instance_ID(), hash);
|
||||
hash = hash_djb2_one_64(p_node->get_instance_id(), hash);
|
||||
if (p_node->get_parent())
|
||||
hash = hash_djb2_one_64(p_node->get_parent()->get_instance_ID(), hash); //so a reparent still produces a different hash
|
||||
hash = hash_djb2_one_64(p_node->get_parent()->get_instance_id(), hash); //so a reparent still produces a different hash
|
||||
|
||||
for (int i = 0; i < p_node->get_child_count(); i++) {
|
||||
|
||||
@@ -625,8 +625,8 @@ void SceneTreeEditor::_renamed() {
|
||||
} else {
|
||||
undo_redo->create_action(TTR("Rename Node"));
|
||||
emit_signal("node_prerename", n, new_name);
|
||||
undo_redo->add_do_method(this, "_rename_node", n->get_instance_ID(), new_name);
|
||||
undo_redo->add_undo_method(this, "_rename_node", n->get_instance_ID(), n->get_name());
|
||||
undo_redo->add_do_method(this, "_rename_node", n->get_instance_id(), new_name);
|
||||
undo_redo->add_undo_method(this, "_rename_node", n->get_instance_id(), n->get_name());
|
||||
undo_redo->commit_action();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user