Merge pull request #28526 from PtrMan/pr_bakeGi1

GIProbe::bake(): special handling of spatial
This commit is contained in:
Rémi Verschelde 2019-11-21 09:28:44 +01:00 committed by GitHub
commit 2981915f19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}