Blender Git Loki

Git Commits -> Revision 9c28a24

Revision 9c28a24 by Joshua Leung (master)
April 24, 2014, 15:14 (GMT)
Fix T39819: Decouple autosnap behaviour from time display

This commit cleans up and fixes some problems related to how the auto-snapping
behaviour in the animation editors works, resolving the issues mentioned in T39819.

1) "Nearest Frame" no longer snaps to the nearest second when time is displayed in seconds.
Instead, there is now also a "Nearest Second" option, so that either can be used
as needed instead of only when a certain time display is used.
2) A similar change has been made for "Time Step" - This is now "Frame Step" and "Second Step"
respectively.

Notes:
* Removed the unneeded getAnimEdit_DrawTime()
* Time Step/Frame Step don't work for Graph Editor yet (and seem to not have worked at all)
* NLA Editor also seems to be showing some weirdness now. Will be checked on.
* Cancelling nearest-second snapping doesn't work nicely, due to another bug with GraphEdit transforms.

Commit Details:

Full Hash: 9c28a241538f8bf5a54ca5670cac3cbb5bff9e13
Parent Commit: 1ae3a3f
Lines Changed: +50, -86

4 Modified Paths:

/source/blender/editors/transform/transform.c (+32, -78) (Diff)
/source/blender/editors/transform/transform_conversions.c (+6, -5) (Diff)
/source/blender/makesdna/DNA_action_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+7, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021