Blender Git Loki

Git Commits -> Revision 40d391f

Revision 40d391f by Wayde Moss (master)
January 14, 2021, 21:50 (GMT)
Fix T81533: NLA Properly Draw FModifiers

When NLA strips weren't time-aligned with the underlying action, then
fcurve modifiers would not be drawn anchored to the strip. Fmodifiers
were evaluating properly, they just weren't drawn with the proper
offset and scale.

To fix it in this specific case, I've chosen to undo the keyframe
remapping then remap the draw-evaluation-time from scene time to
fcurve time. Afterward, I redo the keyframe remapping so the controls
are properly drawn.

The Envelope fmodifier has special drawing code which was fixed too. In
this case, no mapping at all was happening. The solution was similar,
to remap the envelope control points from fcurve time to scene time.

Commit Details:

Full Hash: 40d391fa6068cf56765bfd187c68275f3bfe06e9
Parent Commit: 7a4bdc3
Lines Changed: +41, -9

1 Modified Path:

/source/blender/editors/space_graph/graph_draw.c (+41, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021