mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
Merge pull request #28526 from PtrMan/pr_bakeGi1
GIProbe::bake(): special handling of spatial
This commit is contained in:
commit
2981915f19
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user