Wed, 22 Jun 2022 16:13:01 +0300
Fix invertnext not working with circular primitives
src/ldrawalgorithm.cpp | file | annotate | diff | comparison | revisions |
--- a/src/ldrawalgorithm.cpp Wed Jun 22 16:12:28 2022 +0300 +++ b/src/ldrawalgorithm.cpp Wed Jun 22 16:13:01 2022 +0300 @@ -54,6 +54,10 @@ ref.inverted = not ref.inverted; return ref; }, + [](Colored<CircularPrimitive> circ) -> ModelElement { + circ.inverted = not circ.inverted; + return circ; + }, [](Colored<Triangle> triangle) -> ModelElement { std::swap(triangle.p1, triangle.p2); return triangle;