Re: [Tuxpaint-devel] 2-points selection freezes when joining the 2 points
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <per...@gm...> - 2024-01-20 23:52:58
|
El ds. 20 de 01 de 2024 a les 15:07 -0800, en/na Bill Kendrick va escriure: > On Sat, Jan 20, 2024 at 09:29:35PM +0100, Pere Pujal i Carabantes wrote: > > Just found this: magic 2-point selection, if you let one of the points in place > > and drag the other next/over to it, Tux Paint freezes. > > Mended, thanks! I glanced over the rest of the code for > slope calculations to see if any other spot might crash > due to a divide-by-zero, and didn't see any. > (Usually there's a safety check, or it's impossible for > the points to be in the same X position; this was done > for 2-Pt Persp's vanishing points, but only on _release_, > not drag!) I've played a little with it and really enjoyed it :) The right point escaping the left one is amazing :) Is this the first easter egg in Tux Paint? Best Pere |