From f9dce79afcb291e3c6164f04a53c15a684646acc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 26 Feb 2020 22:25:20 +0100 Subject: Fix undo and redo when using a remote server --- src/AtomReader.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp index fc74c5d5..13cd9470 100644 --- a/src/AtomReader.cpp +++ b/src/AtomReader.cpp @@ -182,6 +182,10 @@ AtomReader::write(const LV2_Atom* msg, int32_t default_id) _iface(BundleBegin{seq}); } else if (obj->body.otype == _uris.ingen_BundleEnd) { _iface(BundleEnd{seq}); + } else if (obj->body.otype == _uris.ingen_Undo) { + _iface(Undo{seq}); + } else if (obj->body.otype == _uris.ingen_Redo) { + _iface(Redo{seq}); } else if (obj->body.otype == _uris.patch_Delete) { const LV2_Atom_Object* body = nullptr; lv2_atom_object_get(obj, (LV2_URID)_uris.patch_body, &body, 0); -- cgit v1.2.1