Blender Git Loki

Git Commits -> Revision 3e78c9e

Revision 3e78c9e by Germano Cavalcante (master)
September 28, 2021, 13:24 (GMT)
Fix T91766: NLA Editor - Segmentation fault on strip resize

NLA and Dope Sheet use a specific transform operation to scale.

Unlike the conventional resize operation, `TIME_SCALE` operates on `td->val`.

This is a bit outside the convention of transform operators.

The expected thing in this case would be to work in `td->loc` and use the conventional resize operator.

But for now, to fix the problem, use `td->loc` in the `TIME_SCALE` operation.

This commit also brings a cleanup in the style of some comments and removing unnecessary `memset`.

Commit Details:

Full Hash: 3e78c9e5bb179e84d542bc698fc6f6d7c111d1e1
Parent Commit: 3674347
Lines Changed: +11, -35

2 Modified Paths:

/source/blender/editors/transform/transform_convert_nla.c (+10, -34) (Diff)
/source/blender/editors/transform/transform_mode_timescale.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021