No description
simulate_flood_fill_outside_check() could spin in an infinite loop because it could sometimes set values in the `touched[]` array to 0, which means the spot was never seen. Values going in there are not boolean, but a 0-255 gradient, for smoother fills on antialiased edges. This change forces it to be a 1-255 value, ensuring that a 'touched' spot on the canvas will have a non-zero `touched[]` value. h/t Pere for noticing the bug, providing some details, and best of all providing a sample image to play with which consistently invoked the crash. (It made mending this a 10 minute task for me, rather than an hours-long hunt to reproduce! Big 'thanks' for doing that ahead of time!!!) |
||
|---|---|---|
| custom | ||
| data | ||
| docs | ||
| fonts/locale | ||
| haiku | ||
| hildon | ||
| im | ||
| ios | ||
| macos | ||
| maemo/debian | ||
| magic | ||
| obj | ||
| osk | ||
| src | ||
| stamps/cartoon/tux | ||
| starters | ||
| templates | ||
| visualc | ||
| win32 | ||
| .cvsignore | ||
| .gitignore | ||
| dummy.c | ||
| findbad | ||
| Makefile | ||
| README.txt | ||
| tuxpaint.spec | ||
Tux Paint Tux Paint is a free, award-winning drawing program for children ages 3 to 12. It combines an easy-to-use interface, fun sound effects, and an encouraging cartoon mascot who guides children as they use the program. Kids are presented with a blank canvas and a variety of drawing tools to help them be creative. Along with paintbrush, shapes and text, Tux Paint includes a "stamp" feature to add pre-drawn or photographic imagery to pictures, and a set of "magic tools" that provide filter effects (like blur, tint and waves) and interesting drawing tools (like train tracks, bubbles and grass). Tux Paint includes a collection of "starter" images, both coloring-book style and photo-realistic, and a large collections of stamps are available as a separate download. Additional content can be added by parents and teachers, or downloaded from 3rd parties. Please see the full documentation located in the "docs" directory. $Id$