brush modifier: fix eraser size regression
authorAndrew Chadwick <andrewc-git@piffle.org>
Sun, 31 Jul 2011 18:06:09 +0000 (19:06 +0100)
committerAndrew Chadwick <andrewc-git@piffle.org>
Sun, 31 Jul 2011 18:13:47 +0000 (19:13 +0100)
commit65f751043cfe1a0233f93eb2591146723b5619fe
tree243d2d8709bc1e3e710dd12ed597d1f3683a424d
parent473158af4b03f2954d9010d9145f3c0b90e6390b
brush modifier: fix eraser size regression

Some bad logic meant that when leaving eraser mode, the radius change
wasn't being stored. That also meant that it wasn't being reset either,
so the brush size would just continue to grow and grow (or shrink and
shrink) with a non-zero document.eraser_mode_radius_change setting.
gui/brushmodifier.py