From 7962d0493767a30895898cf40585ca042bbf08c0 Mon Sep 17 00:00:00 2001 From: Comment Date: Thu, 28 Nov 2013 23:54:24 +0000 Subject: fixed signal colour --- rotord/src/graph.cpp | 5 +++++ rotord/src/nodes_source.h | 1 + rotord/src/rotor.h | 10 +++++----- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp index e9972f3..4039d4b 100644 --- a/rotord/src/graph.cpp +++ b/rotord/src/graph.cpp @@ -328,6 +328,11 @@ bool Graph::parseJson(string &data,string &media_path){ settings["type"]=jnodes[i]["type"].asString(); //attributes settings["media_path"]=media_path; + for (uint32_t m=0;mget((Time_spec)frame))%palette.size(); + if (col!=prevcol) cerr<<"colour now "<value); - } - }; + //void init_attribute(const string &attr){ + // if (attr=="filename") { + // isLoaded=load(media_path+attributes[attr]->value); + // } + //}; Video_loader* clone(map &_settings) { return new Video_loader(_settings);}; bool isLoaded; private: -- cgit v1.2.3