summaryrefslogtreecommitdiffstats
path: root/src/libs/shared/Builder.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-17 19:42:47 +0000
committerDavid Robillard <d@drobilla.net>2008-08-17 19:42:47 +0000
commitcd0bc4625bab110e8e4b780c5b80c87662d35bab (patch)
tree569f272cc67a5092aef2c2342e423533c34c4455 /src/libs/shared/Builder.cpp
parent28c9eaa363ccd70e56c52aedfb6d3d86c13b8cfd (diff)
downloadingen-cd0bc4625bab110e8e4b780c5b80c87662d35bab.tar.gz
ingen-cd0bc4625bab110e8e4b780c5b80c87662d35bab.tar.bz2
ingen-cd0bc4625bab110e8e4b780c5b80c87662d35bab.zip
Fix copy/paste.
git-svn-id: http://svn.drobilla.net/lad/ingen@1423 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/shared/Builder.cpp')
-rw-r--r--src/libs/shared/Builder.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/libs/shared/Builder.cpp b/src/libs/shared/Builder.cpp
index 062afc63..331178f1 100644
--- a/src/libs/shared/Builder.cpp
+++ b/src/libs/shared/Builder.cpp
@@ -38,8 +38,6 @@ Builder::Builder(CommonInterface& interface)
void
Builder::build(SharedPtr<const GraphObject> object)
{
- cout << "BUILDING: " << object->path() << endl;
-
SharedPtr<const Patch> patch = PtrCast<const Patch>(object);
if (patch) {
if (patch->path() != "/")
@@ -71,16 +69,12 @@ void
Builder::build_object(SharedPtr<const GraphObject> object)
{
for (GraphObject::Variables::const_iterator i = object->variables().begin();
- i != object->variables().end(); ++i) {
- cout << "SETTING " << object->path() << " . " << i->first << endl;
+ i != object->variables().end(); ++i)
_interface.set_variable(object->path() + "_copy", i->first, i->second);
- }
for (GraphObject::Properties::const_iterator i = object->properties().begin();
- i != object->properties().end(); ++i) {
- cout << "SETTING " << object->path() << " . " << i->first << endl;
+ i != object->properties().end(); ++i)
_interface.set_property(object->path() + "_copy", i->first, i->second);
- }
}