summaryrefslogtreecommitdiff
path: root/rotord/src/rotor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-11-21 13:40:05 +0000
committerTim Redfern <tim@eclectronics.org>2013-11-21 13:40:05 +0000
commitf884e52ba3e454cbe0f1ac5bfd288083b47a237c (patch)
tree829177edf1c34defa508ddca30aeb5e35ae63035 /rotord/src/rotor.h
parent5eb823abb8ba91dbab098d7195094d0f76e4f332 (diff)
fix mix mode cycler skip
Diffstat (limited to 'rotord/src/rotor.h')
-rw-r--r--rotord/src/rotor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index 3874df6..624e0f0 100644
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -584,11 +584,11 @@ namespace Rotor {
return nullptr;
}
//cut mode
- for (uint32_t i=0;i<image_inputs.size();i++){
- int whichinput=((int)inputs[0]->get((Time_spec)frame)+i)%image_inputs.size();
+ //for (uint32_t i=0;i<image_inputs.size();i++){
+ int whichinput=(((int)inputs[0]->get((Time_spec)frame)))%image_inputs.size(); //+i
Image *in=image_inputs[whichinput]->get(inframe);
if (in) return in;
- }
+ //}
return nullptr;
}
Video_cycler* clone(map<string,string> &_settings) { return new Video_cycler(_settings);};