From 8695135691971c01aa6f18a7183ce270b1cd53fe Mon Sep 17 00:00:00 2001 From: PtrMan Date: Tue, 30 Apr 2019 03:22:11 +0200 Subject: [PATCH] GIProbe::bake: Remove check for ownership Fixes #28508. --- scene/3d/gi_probe.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scene/3d/gi_probe.cpp b/scene/3d/gi_probe.cpp index ccc87b924cd..ce7bb256652 100644 --- a/scene/3d/gi_probe.cpp +++ b/scene/3d/gi_probe.cpp @@ -386,11 +386,7 @@ void GIProbe::_find_meshes(Node *p_at_node, List &plot_meshes) { } for (int i = 0; i < p_at_node->get_child_count(); i++) { - Node *child = p_at_node->get_child(i); - if (!child->get_owner()) - continue; //maybe a helper - _find_meshes(child, plot_meshes); } }