summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPtrMan <robertw89@googlemail.com>2019-04-30 03:22:11 +0200
committerRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-21 08:48:56 +0100
commit8695135691971c01aa6f18a7183ce270b1cd53fe (patch)
treef1acbbd80cfaa12369c83e326ef90c0df52824b7
parentdaefd4f0475283eb1fa097acb1a011f83332329c (diff)
GIProbe::bake: Remove check for ownership
Fixes #28508.
-rw-r--r--scene/3d/gi_probe.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/3d/gi_probe.cpp b/scene/3d/gi_probe.cpp
index ccc87b924c..ce7bb25665 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<PlotMesh> &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);
}
}