summaryrefslogtreecommitdiff
path: root/rotord/src/graph.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-10-16 08:45:27 -0700
committerComment <tim@gray.(none)>2013-10-16 08:45:27 -0700
commitfa1a3122c2c2b07daa5b03c7def8f31a1e5a89fc (patch)
tree82ea2783779bcb746608340299d8b37804eeaff9 /rotord/src/graph.cpp
parent9d6fe33bea0f070356d02a9196e9dfbfa3d0cf8d (diff)
audio_analyser2
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 9f90486..0c47c78 100644
--- a/rotord/src/graph.cpp
+++ b/rotord/src/graph.cpp
@@ -407,6 +407,7 @@ bool Graph::parseJson(string &data,string &media_path){
string val=jnodes[i]["attributes"][m]["value"].asString();
if (val!=nodes[nodeID]->attributes.find(attribute)->second->value){
nodes[nodeID]->attributes.find(attribute)->second->value=val;
+ nodes[nodeID]->init_attribute(attribute);
cerr << "Rotor: set attribute '"<<attribute<<"' of "<<nodeID<<" to "<<val<<endl;
}
nodes[nodeID]->attributes.find(attribute)->second->value=val;