mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 10:49:59 +01:00
Support for relative path for files in mix
File path in mix session file add a relative reference to the location of the session mix file. If SessionCreator cannot find the absolute path, it tries to load the file at the relative location. Done for MediaSource, SessionFileSource and SequenceSource.
This commit is contained in:
@@ -13,6 +13,7 @@ class SessionVisitor : public Visitor {
|
||||
bool recursive_;
|
||||
tinyxml2::XMLDocument *xmlDoc_;
|
||||
tinyxml2::XMLElement *xmlCurrent_;
|
||||
std::string sessionFilePath_;
|
||||
|
||||
static void saveConfig(tinyxml2::XMLDocument *doc, Session *session);
|
||||
static void saveSnapshots(tinyxml2::XMLDocument *doc, Session *session);
|
||||
|
||||
Reference in New Issue
Block a user