diff options
Diffstat (limited to 'rotord/src/graph.cpp')
| -rw-r--r-- | rotord/src/graph.cpp | 1 |
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()) { |
