Fix T55895: VSE crash while moving a strip

Glitch from multi-edit project. ;)
This commit is contained in:
Bastien Montagne 2018-07-25 14:52:29 +02:00
parent 4183e62d1b
commit 5f1ead6395
Notes: blender-bot 2023-02-14 05:36:09 +01:00
Referenced by issue #55895, VSE crash while moving a strip
1 changed files with 1 additions and 1 deletions

View File

@ -1462,7 +1462,7 @@ void snapSequenceBounds(TransInfo *t, const int mval[2])
float xmouse, ymouse;
int frame;
int mframe;
TransSeq *ts = t->custom.type.data;
TransSeq *ts = TRANS_DATA_CONTAINER_FIRST_SINGLE(t)->custom.type.data;
/* reuse increment, strictly speaking could be another snap mode, but leave as is */
if (!(t->modifiers & MOD_SNAP_INVERT))
return;