backward compatibility

Boudewijn Rempt boud at valdyas.org
Tue Jun 22 16:09:00 CEST 2010


On Monday 21 June 2010, LukasT.dev at gmail.com wrote:
> > ...Or did I miss something?
> 
> There are two stages when loading the presets. One for the paintop and one
> for the GUI widgets.
> 
> I did the check when the paintop is loading the preset in
> KisDeformPaintOpSettings. But the GUI part of the paintop has also code for
> loading the preset. The airbrush option loads the preset at
> KisAirbrushOption::readOptionSetting(). That class is part of the library
> and does not know about deform brush (and it's presets strings).
> 
> I could hardcode DEFORM_USE_MOVEMENT_PAINT there so that the GUI is setup
> correctly in the deform brush case. But I don't think it's nice.

Hm, I have no real advice here. I can try to find time to look at the actual 
code tonight, if you remind me to :-)

-- 
Boudewijn Rempt | http://www.valdyas.org


More information about the kimageshop mailing list