Given that the internal algorithm for setting a radius using preferredDirectionWithRadius, setting the radius exactly to zero causes the vertex direction to get lost. For now, we are just setting the radius to 1E-15. Presumably due to significance lost in this algorithm, attempting to then set the radius back to 3 results in a radius that isn't exactly 3.
See test "regular polygon radius slider dragged to zero and back recovers shape"
Given that the internal algorithm for setting a radius using
preferredDirectionWithRadius, setting the radius exactly to zero causes the vertex direction to get lost. For now, we are just setting the radius to 1E-15. Presumably due to significance lost in this algorithm, attempting to then set the radius back to 3 results in a radius that isn't exactly 3.See test "regular polygon radius slider dragged to zero and back recovers shape"