Query pipeline: aggressive workaround until we properly support collider addition/removal.

This commit is contained in:
Crozet Sébastien
2020-09-22 18:46:57 +02:00
parent b39887a121
commit 52bbcc79fe

View File

@@ -33,7 +33,7 @@ impl QueryPipeline {
if !self.tree_built { if !self.tree_built {
self.quadtree self.quadtree
.clear_and_rebuild(colliders, self.dilation_factor); .clear_and_rebuild(colliders, self.dilation_factor);
self.tree_built = true; // self.tree_built = true; // FIXME: uncomment this once we handle insertion/removals properly.
return; return;
} }