Skip to content
  • Walter Doekes's avatar
    Do not crash in Winding_Clip when using -D_GLIBCXX_ASSERTIONS · bf7521b8
    Walter Doekes authored
    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.
    bf7521b8