Login  Register

Re: [Bug] rs_actiondrawellipsecenter3point

Posted by dxli on Jun 15, 2013; 12:16pm
URL: https://forum.librecad.org/Bug-rs-actiondrawellipsecenter3point-tp5708194p5708355.html

it's a tolerance issue.

to test whether a double is zero, the broken test is:

foo < 1.e-20

looks like it's more reasonable to do:

foo < 1.5e-15

if this happens again, we increase it further

commit 5ecbc49891f81dc76eebd13742e4c4f23911b368