diff options
author | Peter Schlaile <peter@schlaile.de> | 2008-08-03 19:56:35 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2008-08-03 19:56:35 +0400 |
commit | 855fa737d70d4b01ef129a27ffc7d89b65dbc590 (patch) | |
tree | 355e548eecf3e1f64993873771a187f2ff2f97b6 /source/blender | |
parent | 7fc6741bcf631c14a0009b051c248e9750fb9987 (diff) |
== 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...
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/src/buttons_scene.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source/blender/src/buttons_scene.c b/source/blender/src/buttons_scene.c index 3b0167d673c..fb6a7636e16 100644 --- a/source/blender/src/buttons_scene.c +++ b/source/blender/src/buttons_scene.c @@ -763,7 +763,16 @@ static void seq_panel_input() } 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) { uiDefBut(block, TEX, |