aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_sub_scene.cpp
diff options
context:
space:
mode:
authorPaolo Perkovic2018-02-01 09:57:10 +0100
committerHein-Pieter van Braam2018-02-04 20:10:13 +0100
commit7de47fbabb28198b41aa475e64eaa0fbcfff126a (patch)
treeb9181261ccf7d6aa1bbb43bdfb47a62a3107c240 /editor/editor_sub_scene.cpp
parent62dc7ba82f56c3bc1bde46e01950f449cf960910 (diff)
downloadgodot-7de47fbabb28198b41aa475e64eaa0fbcfff126a.tar.gz
godot-7de47fbabb28198b41aa475e64eaa0fbcfff126a.tar.zst
godot-7de47fbabb28198b41aa475e64eaa0fbcfff126a.zip
Fix inconsistencies and typos in argument names
(cherry picked from commit 08d4bfacafa8abe435d51a6afecb276030a23280)
Diffstat (limited to '')
-rw-r--r--editor/editor_sub_scene.cpp8
1 files changed, 4 insertions, 4 deletions
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<Node *>::Element *E = selection.find(c);
if (E) {
selection.move_to_back(E);