Reconsider calling Magic tool's `set_color()` before its `switchin()`
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
Based on a bug Pere found with the in-progress "Filled Polygon" magic tool, it seems Tux Paint calls a Magic tool's _set_color()
function before it calls its _switchin()
. We should reconsider this, because it seems wrong. (We'll need to confirm all Magic tools still behave properly if this changes!)
See https://sourceforge.net/p/tuxpaint/mailman/message/58757520/
rotate.c
has a workaround due to this.