Selaa lähdekoodia

Merge pull request #28526 from PtrMan/pr_bakeGi1

GIProbe::bake(): special handling of spatial
Rémi Verschelde 5 vuotta sitten
vanhempi
commit
2981915f19
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      scene/3d/gi_probe.cpp

+ 0 - 4
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);
 	}
 }