== Sequencer ==

Fixes:
[#15082] Sequencer: for image strips, the Input file field disappears if the cursor is out of the selected strip

also it wasn't really a bug, since the file name of image input strips
_has_ to depend on CFRA.

Well, we choose the next possible image strip, which is most likely the thing,
most people expected...
This commit is contained in:
Peter Schlaile 2008-08-03 15:56:35 +00:00
parent 7fc6741bcf
commit 855fa737d7

@ -763,7 +763,16 @@ static void seq_panel_input()
} }
if (last_seq->type == SEQ_IMAGE) { if (last_seq->type == SEQ_IMAGE) {
StripElem * se = give_stripelem(last_seq, CFRA); int cfra = CFRA;
StripElem * se;
if(last_seq->startdisp >cfra) {
cfra = last_seq->startdisp;
} else if (last_seq->enddisp <= cfra) {
cfra = last_seq->enddisp - 1;
}
se = give_stripelem(last_seq, cfra);
if (se) { if (se) {
uiDefBut(block, TEX, uiDefBut(block, TEX,