Fix T53459, inconsistent bevel on identical edges.
authorHoward Trickey <howard.trickey@gmail.com>
Mon, 29 Jan 2018 00:19:02 +0000 (19:19 -0500)
committerHoward Trickey <howard.trickey@gmail.com>
Mon, 29 Jan 2018 00:19:02 +0000 (19:19 -0500)
commit561d738eaa2f64044f5266a480d9bc822bd0296e
tree7e2565822625c7ab03b7660d76feca39417bb145
parentd099b1073baa77f1c8da656eabe932f6ec5b06d8
Fix T53459, inconsistent bevel on identical edges.

The old algorithm depended on vertex order.
The new one uses a global least squares solution on chains
and cycles of edges where loop slide induces a dependency.

See https://wiki.blender.org/index.php/Dev:Source/Modeling/Bevel
in the "Consistent Widths for Even Bevels" for derivation of
the new algorithm.
source/blender/bmesh/tools/bmesh_bevel.c