[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Undo during playback
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Undo during playback |
Date: |
Mon, 31 Jan 2011 14:20:23 +0000 |
On Mon, 2011-01-31 at 09:21 +0000, Richard Shann wrote:
> Nils reported a crash using undo during playback. It looks like this
> would happen if the undo involved a snapshot, since the entire
> DenemoScore is being replaced which the playback is using.
> However, I have not been able to provoke such a crash.
Looking at the code I can see how it could happen - basically returning
to a snapshot taken when a different midi playback was instantiated.
Richard
> I have code ready to stop playback if the Undo/Redo triggers a snapshot
> - you would still be able to tinker around with notes adding, deleting,
> changing etc, just not change the score title or add a staff etc.
> But I am not sure if I should commit it - Nils' crash may have been
> un-related... Need more feedback.
>
> Richard
>
>
>
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel