On Fri, 2008-02-15 at 12:57 +0200, Tor Lillqvist wrote:
> So, how to solve this? Should the bookeeping of deformation vectors be
> done per-drawawble by the GimpWarpTool object (a subclass of
> GimpPaintTool) and not GimpWarp object?
No, the tool class shouldn't do anything but providing the user
> Ditto for a copy of the original drawable.
You don't need to allocate such a copy as it is already allocated for
you by means of the undo tile-manager. If you need access to the
original drawable, just read from the undo tiles. If your warp object is
a GimpPaintCore, then you can just use gimp_paint_core_get_orig_image().
Gimp-developer mailing list