Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a couple of bugs in
bsp_merge_coplanars
* The first bug was that `other_poly.vertices` was not being checked if it was empty. In the original code, this wouldn't crash but could lead to undefined behavior because it was reading junk data. * The second bug was that the `ed_poly` being passed to `bsp_add_node` in the Coplanar split case did not have the right `link` set, which would result in a crash.
- Loading branch information