Blender Git Commit Log

Git Commits -> Revision 301bcf7

Revision 301bcf7 by Jacques Lucke (master)
March 5, 2019, 15:23 (GMT)
Fix T62210: endless loop in kd tree lookup

The problem was that `balance` expected that all node children
are set to `KD_NODE_UNSET` by default.
However, this might not be the case when `balance` is called
more than once.

The balance function might change the order of nodes even
when no new point has been inserted.

Commit Details:

Full Hash: 301bcf771dec827138412ca6e7a25e2269eb5e9e
Parent Commit: 8887988
Lines Changed: +7, -2

1 Modified Path:

/source/blender/blenlib/intern/BLI_kdtree.c (+7, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021