Fix NLA transform crash

This commit is contained in:
Campbell Barton 2018-07-04 13:54:22 +02:00
parent 8aa1ef2675
commit 7d355008bf
Notes: blender-bot 2023-02-14 05:39:39 +01:00
Referenced by issue #55712, Blender 2.8 crash when dragging animation strips in NLA editor
1 changed files with 1 additions and 1 deletions

View File

@ -463,13 +463,13 @@ static void recalcData_graphedit(TransInfo *t)
/* helper for recalcData() - for NLA Editor transforms */
static void recalcData_nla(TransInfo *t)
{
TransDataNla *tdn = t->custom.type.data;
SpaceNla *snla = (SpaceNla *)t->sa->spacedata.first;
Scene *scene = t->scene;
double secf = FPS;
int i;
TransDataContainer *tc = TRANS_DATA_CONTAINER_FIRST_SINGLE(t);
TransDataNla *tdn = tc->custom.type.data;
/* for each strip we've got, perform some additional validation of the values that got set before
* using RNA to set the value (which does some special operations when setting these values to make