summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-21 09:28:44 +0100
committerGitHub <noreply@github.com>2019-11-21 09:28:44 +0100
commit2981915f19f6c168128afffcfe18fcd122401b65 (patch)
tree1827050d951dfd8454eb837430e5007914f032ce
parent5ef5e6a7e4715703820592b4036c9ed3de4f80e3 (diff)
parent8695135691971c01aa6f18a7183ce270b1cd53fe (diff)
Merge pull request #28526 from PtrMan/pr_bakeGi1
GIProbe::bake(): special handling of spatial
-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);
}
}