Blender Git Commit Log

Git Commits -> Revision 40d71fc

Revision 40d71fc by Sybren A. Stüvel (master)
January 21, 2020, 10:53 (GMT)
Fix T70891: Motion Path - Changing endframe clamps startframe to 1

There were two strange things going on:

- Start frame was clamped to 1, even when frame 0 is always a valid number.
This also ignored the 'Allow Negative Frames' user preference.
- Start frame was only clamped when setting the end frame, so first setting
the end frame and then the start frame would result in a different result
than doing it in the opposite order.

This commit fixes both issues by:

- Clamping the lower bound of the start frame only if negative frames are
not allowed, and
- apply that clamp both when setting the start and the end frame.

Commit Details:

Full Hash: 40d71fc6428c462ca4d5eb35206baf334072497c
Parent Commit: 5a29356
Lines Changed: +7, -1

1 Modified Path:

/source/blender/makesrna/intern/rna_animviz.c (+7, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021