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: Bill K. <nb...@so...> - 2024-01-20 23:07:32
|
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 not been able to reproduce with 3-points selection. Thanks! -bill! |