From 2b189b5979fed3f52a1bea082201a892d00aa38c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Aug 2008 03:30:10 +0000 Subject: Make refresh more complete. git-svn-id: http://svn.drobilla.net/lad/ingen@1389 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/Store.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libs/client/Store.cpp') diff --git a/src/libs/client/Store.cpp b/src/libs/client/Store.cpp index 53b99f8d..6bb3b767 100644 --- a/src/libs/client/Store.cpp +++ b/src/libs/client/Store.cpp @@ -93,11 +93,13 @@ Store::resolve_plugin_orphans(SharedPtr plugin) if (n != _plugin_orphans.end()) { list > spawn = n->second; // take a copy + cerr << "Missing dependant " << plugin->uri() << " received" << endl; _plugin_orphans.erase(plugin->uri()); // prevent infinite recursion for (list >::iterator i = spawn.begin(); i != spawn.end(); ++i) { + (*i)->_plugin = plugin; add_object(*i); } } @@ -126,6 +128,7 @@ Store::resolve_connection_orphans(SharedPtr port) ++next; if (c->first == port->path() || c->second == port->path()) { + cerr << "Missing dependant (" << c->first << " -> " << c->second << ") received" << endl; bool success = attempt_connection(c->first, c->second); if (success) _connection_orphans.erase(c); @@ -185,6 +188,7 @@ Store::resolve_variable_orphans(SharedPtr subject) list > values = v->second; // take a copy _variable_orphans.erase(subject->path()); + cerr << "Missing dependant " << subject->path() << " received" << endl; for (list >::iterator i = values.begin(); i != values.end(); ++i) { -- cgit v1.2.1