Fix NLA transform crash
This commit is contained in:
parent
8aa1ef2675
commit
7d355008bf
@ -463,13 +463,13 @@ static void recalcData_graphedit(TransInfo *t)
|
|||||||
/* helper for recalcData() - for NLA Editor transforms */
|
/* helper for recalcData() - for NLA Editor transforms */
|
||||||
static void recalcData_nla(TransInfo *t)
|
static void recalcData_nla(TransInfo *t)
|
||||||
{
|
{
|
||||||
TransDataNla *tdn = t->custom.type.data;
|
|
||||||
SpaceNla *snla = (SpaceNla *)t->sa->spacedata.first;
|
SpaceNla *snla = (SpaceNla *)t->sa->spacedata.first;
|
||||||
Scene *scene = t->scene;
|
Scene *scene = t->scene;
|
||||||
double secf = FPS;
|
double secf = FPS;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
TransDataContainer *tc = TRANS_DATA_CONTAINER_FIRST_SINGLE(t);
|
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
|
/* 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
|
* using RNA to set the value (which does some special operations when setting these values to make
|
||||||
|
Loading…
Reference in New Issue
Block a user