summaryrefslogtreecommitdiff
path: root/editor/editor_sub_scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_sub_scene.cpp')
-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 7527b198b8..056ee59860 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);