forked from bartvdbraak/blender
* Fix for NLA with Map Old/Map New
NLA wasn't getting the correct strip start/end times when Map Old/Map New was being used. This fixes it and makes the animation get scaled properly.
This commit is contained in:
parent
9087ff2dec
commit
2062aa6838
@ -1068,7 +1068,7 @@ static void do_nla(Object *ob, int blocktype)
|
||||
bActionStrip *strip, *striplast=NULL, *stripfirst=NULL;
|
||||
float striptime, frametime, length, actlength;
|
||||
float blendfac, stripframe;
|
||||
float scene_cfra= G.scene->r.cfra;
|
||||
float scene_cfra= frame_to_float(G.scene->r.cfra);
|
||||
int doit, dostride;
|
||||
|
||||
if(blocktype==ID_AR) {
|
||||
|
Loading…
Reference in New Issue
Block a user