DarkRadiant: master b80a9add

Author Committer Branch Timestamp Parent
greebo greebo master 2020-03-23 18:43:21 master e1c31bb7
Affected Issues  0005132: Undo after thickening a cylinder cap along vertex normals causes crash
Changeset Resolve 0005132: Refactor and harden patch thicken algorithm a bit. Some patches have one or more control vertices in the same spot, leading to degenerate tangents, which in turn are producing degenerate normals. Don't attempt to normalise those, instead use a 0,0,0 normal to extrude that bogus patch. The result of the thickening is probably unusable anyway, but at least no invisible patches with invalid control vertices are added to the scene.
mod - radiant/patch/Patch.cpp Diff File