summaryrefslogtreecommitdiff
path: root/rotord/src/graph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/graph.cpp')
-rw-r--r--rotord/src/graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp
index 6409ff6..ebfcece 100644
--- a/rotord/src/graph.cpp
+++ b/rotord/src/graph.cpp
@@ -344,7 +344,7 @@ bool Graph::parseJson(string &data,string &media_path){
}
attr->init(vals);
}
- node->init_attribute(jnodes[i]["attributes"][m]["name"].asString()); //hook for attribute initialisers
+ node->init_attribute(attribute);
//cerr << "Rotor: setting attribute '"<<attribute<<"' of "<<nodeID<<" type "<<attr->type<<" to "<<val<<endl;
cerr << "Rotor: setting attribute '"<<attribute<<"' of "<<nodeID<<" type "<<attr->type<<" to "<<val<<endl;