From 7de47fbabb28198b41aa475e64eaa0fbcfff126a Mon Sep 17 00:00:00 2001 From: Paolo Perkovic Date: Thu, 1 Feb 2018 09:57:10 +0100 Subject: Fix inconsistencies and typos in argument names (cherry picked from commit 08d4bfacafa8abe435d51a6afecb276030a23280) --- editor/editor_sub_scene.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'editor/editor_sub_scene.cpp') diff --git a/editor/editor_sub_scene.cpp b/editor/editor_sub_scene.cpp index 7527b198b..056ee5986 100644 --- a/editor/editor_sub_scene.cpp +++ b/editor/editor_sub_scene.cpp @@ -121,10 +121,10 @@ void EditorSubScene::_item_multi_selected(Object *p_object, int p_cell, bool p_s } } -void EditorSubScene::_remove_selection_child(Node *n) { - if (n->get_child_count() > 0) { - for (int i = 0; i < n->get_child_count(); i++) { - Node *c = n->get_child(i); +void EditorSubScene::_remove_selection_child(Node *p_node) { + if (p_node->get_child_count() > 0) { + for (int i = 0; i < p_node->get_child_count(); i++) { + Node *c = p_node->get_child(i); List::Element *E = selection.find(c); if (E) { selection.move_to_back(E); -- cgit v1.2.3-70-g09d2