summaryrefslogtreecommitdiffstats
path: root/src/engine/events/SetMetadataEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events/SetMetadataEvent.cpp')
-rw-r--r--src/engine/events/SetMetadataEvent.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/events/SetMetadataEvent.cpp b/src/engine/events/SetMetadataEvent.cpp
index ea4e9129..9eb77779 100644
--- a/src/engine/events/SetMetadataEvent.cpp
+++ b/src/engine/events/SetMetadataEvent.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -62,7 +62,7 @@ SetMetadataEvent::pre_process()
_object = _engine.engine_store()->find_object(Path(_subject.str()));
else
_object = _engine.node_factory()->plugin(_subject);
-
+
if (_object == NULL) {
_error = NOT_FOUND;
QueuedEvent::pre_process();
@@ -76,7 +76,7 @@ SetMetadataEvent::pre_process()
_object->set_property(_key, _value);
else
dynamic_cast<GraphObjectImpl*>(_object)->set_variable(_key, _value);
-
+
_patch = dynamic_cast<PatchImpl*>(_object);
if (_key.str() == "ingen:broadcast") {
@@ -143,7 +143,7 @@ SetMetadataEvent::execute(ProcessContext& context)
break;
default:
_success = true;
- }
+ }
QueuedEvent::execute(context);
}