diff options
| author | Comment <tim@gray.(none)> | 2013-11-28 23:56:18 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-11-28 23:56:18 +0000 |
| commit | 43fa0936cc78e57dcfa1d4827c74aa6b8ba27db2 (patch) | |
| tree | 74ae91f58c6de8902138277ac220e4399ec447cf /rotord/src | |
| parent | 7962d0493767a30895898cf40585ca042bbf08c0 (diff) | |
fixed signal colour
Diffstat (limited to 'rotord/src')
| -rw-r--r-- | rotord/src/nodes_source.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/nodes_source.h b/rotord/src/nodes_source.h index 3b30f1b..0e37fc7 100644 --- a/rotord/src/nodes_source.h +++ b/rotord/src/nodes_source.h @@ -24,7 +24,7 @@ namespace Rotor { Image *output(const Frame_spec &frame){ if (palette.size()) { int col=((int)inputs[0]->get((Time_spec)frame))%palette.size(); - if (col!=prevcol) cerr<<"colour now "<<palette[col].r<<","<<palette[col].g<<","<<palette[col].b<<endl; + //if (col!=prevcol) cerr<<"colour now "<<palette[col].r<<","<<palette[col].g<<","<<palette[col].b<<endl; //if (col!=prevcol){ //how about when starting a new render? for (int i=0;i<image.w*image.h;i++){ image.RGBdata[i*3]=palette[col].r; |
