<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 286: Reconsider calling Magic tool's `set_color()` before its `switchin()`</title><link href="https://sourceforge.net/p/tuxpaint/bugs/286/" rel="alternate"/><link href="https://sourceforge.net/p/tuxpaint/bugs/286/feed.atom" rel="self"/><id>https://sourceforge.net/p/tuxpaint/bugs/286/</id><updated>2024-10-01T05:05:55.350000Z</updated><subtitle>Recent changes to 286: Reconsider calling Magic tool's `set_color()` before its `switchin()`</subtitle><entry><title>#286 Reconsider calling Magic tool's `set_color()` before its `switchin()`</title><link href="https://sourceforge.net/p/tuxpaint/bugs/286/?limit=25#582a" rel="alternate"/><published>2024-10-01T05:05:55.350000Z</published><updated>2024-10-01T05:05:55.350000Z</updated><author><name>William Kendrick</name><uri>https://sourceforge.net/u/wkendrick/</uri></author><id>https://sourceforge.netd3f9d6c38a06a9b52beda79582c028a72f838fd3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;code&gt;rotate.c&lt;/code&gt; has a workaround due to this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Reconsider calling Magic tool's `set_color()` before its `switchin()`</title><link href="https://sourceforge.net/p/tuxpaint/bugs/286/" rel="alternate"/><published>2024-04-09T04:01:20.060000Z</published><updated>2024-04-09T04:01:20.060000Z</updated><author><name>William Kendrick</name><uri>https://sourceforge.net/u/wkendrick/</uri></author><id>https://sourceforge.net08c9129ae1dcd45fea9f71fc36db027c21a26113</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Based on a bug Pere found with the in-progress "Filled Polygon" magic tool, it seems Tux Paint calls a Magic tool's &lt;code&gt;_set_color()&lt;/code&gt; function before it calls its &lt;code&gt;_switchin()&lt;/code&gt;. We should reconsider this, because it seems wrong. (We'll need to confirm all Magic tools still behave properly if this changes!)&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://sourceforge.net/p/tuxpaint/mailman/message/58757520/"&gt;https://sourceforge.net/p/tuxpaint/mailman/message/58757520/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>