summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialisation')
-rw-r--r--src/serialisation/Parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index 4ccb4525..b69900b5 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -310,7 +310,7 @@ Parser::parse(Ingen::Shared::World* world,
subject = nil;
}
- std::string path_str;
+ std::string path_str = data_path ? data_path->chop_scheme() : "/";
boost::optional<Path> ret;
boost::optional<Path> root_path;
@@ -376,7 +376,7 @@ Parser::parse(Ingen::Shared::World* world,
}
- return root_path;
+ return boost::optional<Path>(Path(path_str));
}
boost::optional<Path>