summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-02-17 14:23:00 +0000
committerDavid Robillard <d@drobilla.net>2008-02-17 14:23:00 +0000
commit7ff2c2fbab69ffd9b1290c6f82ca87d3b2dc4a89 (patch)
treecfe440d250a2c3b64b9b9b77fcd6ae91412b1263
parentdca60d3035d69b2e557d1109c817b736b6067cff (diff)
downloadingen-7ff2c2fbab69ffd9b1290c6f82ca87d3b2dc4a89.tar.gz
ingen-7ff2c2fbab69ffd9b1290c6f82ca87d3b2dc4a89.tar.bz2
ingen-7ff2c2fbab69ffd9b1290c6f82ca87d3b2dc4a89.zip
Fix SLV2 building from top level.
git-svn-id: http://svn.drobilla.net/lad/ingen@1147 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/libs/serialisation/Serialiser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/serialisation/Serialiser.cpp b/src/libs/serialisation/Serialiser.cpp
index 71d64015..d6bd1df4 100644
--- a/src/libs/serialisation/Serialiser.cpp
+++ b/src/libs/serialisation/Serialiser.cpp
@@ -102,6 +102,7 @@ Serialiser::start_to_filename(const string& filename)
_base_uri = "file://" + filename;
_model = new Redland::Model(_world);
+ _model->set_base_uri(string("file://" + filename));
_mode = TO_FILE;
}
@@ -120,6 +121,7 @@ Serialiser::start_to_string(const string& base_uri)
_base_uri = base_uri;
_model = new Redland::Model(_world);
+ _model->set_base_uri(base_uri);
_mode = TO_STRING;
}