BUGFIX: Sequencer strips.elements was broken when strip was trimmed (personal bug...
authorDalai Felinto <dfelinto@gmail.com>
Thu, 26 May 2011 09:20:30 +0000 (09:20 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Thu, 26 May 2011 09:20:30 +0000 (09:20 +0000)
commitea19f154004cb28b684c70be8b937e0056c715dc
treea5239a8f43761eb7ebf6407ff44cb52de4e1b15c
parent6466673a62083cf13bcb1290f1e3fbcb9231199f
BUGFIX: Sequencer strips.elements was broken when strip was trimmed (personal bug report, no number)

When trimmed the seq->len was being reduced from the offsets (initial and final). This was the length passed to the elements.
This had two problems:
1) it would not allow you to change the elements not visible (although you likely want to change them as well).
2) the element[0] was always the seq->strips[0].stripdata[0], regardless of the initial trim.

Anyhoo it's all working now.
Thanks Campbell for helping out with this one.
source/blender/makesrna/intern/rna_sequencer.c