summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/gui/PatchCanvas.cpp2
-rw-r--r--src/libs/shared/Builder.cpp10
2 files changed, 3 insertions, 9 deletions
diff --git a/src/libs/gui/PatchCanvas.cpp b/src/libs/gui/PatchCanvas.cpp
index f3aef740..e2511a4b 100644
--- a/src/libs/gui/PatchCanvas.cpp
+++ b/src/libs/gui/PatchCanvas.cpp
@@ -542,7 +542,7 @@ void
PatchCanvas::copy_selection()
{
Serialiser serialiser(*App::instance().world(), App::instance().store());
- serialiser.start_to_string(_patch->path(), "");
+ serialiser.start_to_string(_patch->path(), "http://example.org/");
for (list<boost::shared_ptr<Item> >::iterator m = _selected_items.begin(); m != _selected_items.end(); ++m) {
boost::shared_ptr<NodeModule> module = boost::dynamic_pointer_cast<NodeModule>(*m);
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);
- }
}