summaryrefslogtreecommitdiff
path: root/rotord/rotor.h
diff options
context:
space:
mode:
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;