-
Michael Natterer authored
2004-08-26 Michael Natterer <mitch@gimp.org> * app/core/gimpitem.c (gimp_item_stroke): implement the whole paint_options fiddling here instead of in each subclass and pass either GimpStrokeOptions or GimpPaintOptions (instead of GimpStrokeOptions or GimpPaintInfo) to GimpItem::stroke(). Also copied code (that needs to be abstracted to a utility function) from the tool_manager which makes sure we really use the global brush, pattern etc. if these options are checked in prefs. Fixes bug #150716. * app/core/gimpchannel.c (gimp_channel_stroke) * app/vectors/gimpvectors.c (gimp_vectors_stroke): removed the duplicated code mentioned above and simply use the paint_options passed.
23bd1216