Undo system

Sven Langkamp sven.langkamp at gmail.com
Fri Mar 9 19:34:54 CET 2007


On 3/8/07, Sven Langkamp <sven.langkamp at gmail.com> wrote:
> - At the moment the commands in KisImage work recursive, which should
> be avoided. It's not clear who is responsible for the locking of the
> image. There are cases where the image is locked and unlocked three
> times.
>
> I think the locking of the image should be done by the command only.
>
>
> - There isn't a KisCommandHistoryListener at the moment, but it's
> needed for the transform tools. My idea was that KisDoc2 could
> override the addCommand function, but would make the transform tool
> Krita only.

The more I look into this the more I fear that I will have to
reintroduce KisUndoAdapter for the new Undo System. Without it many
things would break, especially the locking of the undo stack and the
big dependency on macro commands.


More information about the kimageshop mailing list