Blender Git Loki

Git Commits -> Revision e4ca1fc

Revision e4ca1fc by Sybren A. Stüvel (master)
November 23, 2020, 11:48 (GMT)
Animation: New Euler filter implementation

This new discontinuity filter performs actions on the entire Euler
rotation, rather than only on the individual X/Y/Z channels. This makes
it fix a wider range of discontinuities, for example those in T52744.

The filter now runs twice on the selected channels, in this order:
- New: Convert X+Y+Z rotation to matrix, then back to Euler angles.
- Old: Add/remove factors of 360� to minimize jumps.

The messaging is streamlined; it now reports how many channels were
filtered, and only warns (instead of errors) when there was an actual
problem with the selected channels (like selecting three or more
channels, but without X/Y/Z triplet).

A new kernel function `BKE_fcurve_keyframe_move_value_with_handles()` is
introduced, to make it possible to move a keyframe's value and move its
handles at the same time.

Manifest Task: T52744

Reviewed By: looch

Differential Revision: https://developer.blender.org/D9602

Commit Details:

Full Hash: e4ca1fc4ea43f795441a319ea96b63a58553f070
Parent Commit: 1318eaf
Lines Changed: +309, -68

5 Modified Paths:

/source/blender/blenkernel/BKE_fcurve.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+8, -0) (Diff)
/source/blender/blenkernel/intern/fcurve_test.cc (+31, -0) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+171, -67) (Diff)
/tests/python/bl_animation_fcurves.py (+95, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021