summaryrefslogtreecommitdiffstats
path: root/src/AtomReader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-26 22:25:20 +0100
committerDavid Robillard <d@drobilla.net>2020-02-26 22:25:20 +0100
commitf9dce79afcb291e3c6164f04a53c15a684646acc (patch)
treed93701d9cc662fa91c7f9231d678b049849f8cc9 /src/AtomReader.cpp
parent6db14b2210a9f7a8835334657e89ae49158fe660 (diff)
downloadingen-f9dce79afcb291e3c6164f04a53c15a684646acc.tar.gz
ingen-f9dce79afcb291e3c6164f04a53c15a684646acc.tar.bz2
ingen-f9dce79afcb291e3c6164f04a53c15a684646acc.zip
Fix undo and redo when using a remote server
Diffstat (limited to 'src/AtomReader.cpp')
-rw-r--r--src/AtomReader.cpp4
1 files changed, 4 insertions, 0 deletions
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);