From 1a31907d1ad2e9c8ed0cdced09e81f7a7ec07504 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Mar 2017 19:41:35 +0100 Subject: Don't delete existing graph contents on LV2 restore --- src/server/ingen_lv2.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index 1604ec4f..b3489d6d 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -756,6 +756,7 @@ ingen_restore(LV2_Handle instance, return LV2_STATE_ERR_UNKNOWN; } +#if 0 // Remove existing root graph contents SPtr engine = plugin->engine; for (const auto& b : engine->root_graph()->blocks()) { @@ -769,6 +770,7 @@ ingen_restore(LV2_Handle instance, plugin->world->interface()->del(port->uri()); } } +#endif // Load new graph std::lock_guard lock(plugin->world->rdf_mutex()); -- cgit v1.2.1