summaryrefslogtreecommitdiff
path: root/rotord/src/graph.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-10-16 20:09:25 -0700
committerComment <tim@gray.(none)>2013-10-16 20:09:25 -0700
commitea30d63f0f999bde01df1904df1d5ddf22deea65 (patch)
treec48a9ca7df27ffe6a90e94a6bf836103fa12b2cc /rotord/src/graph.cpp
parentfa1a3122c2c2b07daa5b03c7def8f31a1e5a89fc (diff)
fix paths regression
Diffstat (limited to 'rotord/src/graph.cpp')
-rw-r--r--rotord/src/graph.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp
index 0c47c78..e6443d3 100644
--- a/rotord/src/graph.cpp
+++ b/rotord/src/graph.cpp
@@ -401,6 +401,7 @@ bool Graph::parseJson(string &data,string &media_path){
}
//attributes
+ nodes[nodeID]->create_attribute("media_path","","",media_path);
for (int m=0;m<jnodes[i]["attributes"].size();m++){
string attribute=jnodes[i]["attributes"][m]["name"].asString();
if (nodes[nodeID]->attributes.find(attribute)!=nodes[nodeID]->attributes.end()) {