summaryrefslogtreecommitdiff
path: root/rotord/src/graph.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-12-08 09:57:25 +0000
committerComment <tim@gray.(none)>2013-12-08 09:57:25 +0000
commite04516069c71a5a1e32e6a5fbf0eb5b86dcfc5a2 (patch)
treebec01f63fb5306d6ec49eae870ed747594be5927 /rotord/src/graph.cpp
parenta647bc51ea9fd29623aba56246e85c51b923bbd9 (diff)
many signal fixes
Diffstat (limited to 'rotord/src/graph.cpp')
-rw-r--r--rotord/src/graph.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp
index 737aeab..5d8d368 100644
--- a/rotord/src/graph.cpp
+++ b/rotord/src/graph.cpp
@@ -31,14 +31,14 @@ bool Graph::signal_render(xmlIO &XML,const string &node,const float framerate) {
//return signal_output->render(duration,framerate,signal_xml);
XML.addValue("signal_duration",duration);
XML.addValue("signal_framerate",framerate);
- float sig=0.0f;
+ //float sig=0.0f;
string val="";
for (float i=0;i<duration;i+=1.0f/framerate){
float s=(signal_output->get_output(Time_spec(i,framerate,duration)));
- if (!fequal(sig,s)){
+ //if (!fequal(sig,s)){
val+=toString(i)+" "+toString(s)+",";
- sig=s;
- }
+ // sig=s;
+ //}
}
XML.addValue("signal",val);
return true;