From 88f9a3bf23fc629385978633a8764d74788e1fdc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 31 Jul 2012 00:37:01 +0000 Subject: Clean up Resource. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4580 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/Delta.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/server/events') diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index a497bb37..6892ccbc 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -67,7 +67,11 @@ Delta::Delta(Engine& engine, , _create(create) { if (context != Resource::DEFAULT) { - Resource::set_context(_properties, context); + for (Properties::iterator i = _properties.begin(); + i != _properties.end(); + ++i) { + i->second.set_context(context); + } } #ifdef DUMP -- cgit v1.2.1