GIProbe::bake: Remove check for ownership

Fixes #28508.
This commit is contained in:
PtrMan 2019-04-30 03:22:11 +02:00 committed by Rémi Verschelde
parent daefd4f047
commit 8695135691

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++) { for (int i = 0; i < p_at_node->get_child_count(); i++) {
Node *child = p_at_node->get_child(i); Node *child = p_at_node->get_child(i);
if (!child->get_owner())
continue; //maybe a helper
_find_meshes(child, plot_meshes); _find_meshes(child, plot_meshes);
} }
} }