summaryrefslogtreecommitdiff
path: root/rotord/rotor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-07-04 17:40:56 +0100
committerTim Redfern <tim@herge.(none)>2013-07-04 17:40:56 +0100
commitafaf35edbad11bc7d71a6793116c229dcfc38f92 (patch)
treec5831004589b5368de766fb3e3a06e4ef2f04767 /rotord/rotor.h
parentd80323174f5be46051dd494308a92cfe12e2c1f5 (diff)
echo trails improvements
Diffstat (limited to 'rotord/rotor.h')
-rwxr-xr-xrotord/rotor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rotord/rotor.h b/rotord/rotor.h
index 7430ab0..93fab03 100755
--- a/rotord/rotor.h
+++ b/rotord/rotor.h
@@ -946,9 +946,12 @@ namespace Rotor {
if (image_inputs.size()) {
if (image_inputs[0]->connection){
if (LUT) {
+ //need a better strategy here, should be able to get each image once
//copy incoming image **writable
if (image) image->free();
image=(((Image_node*)image_inputs[0]->connection)->get_output(frame))->clone();
+ images[thisframe]=new Image(frame.w,frame.h);
+ apply_LUT(*(image),*(images[thisframe]));
for (int i=1;i<number;i++){
//check echo frame isn't at negative time
int absframe=thisframe-i;