Skip to content

Do not crash in Winding_Clip when using -D_GLIBCXX_ASSERTIONS

When setting -D_GLIBCXX_ASSERTIONS, invalid vector accesses are found, like empty_vector.back(). In this case, the result was not used so the bug wasn't found without the assertion.

This changeset fixes so dragging a brush to 0 size does not crash/abort netradiant.

Closes #156 (closed).

Merge request reports