Blender Git Loki

Git Commits -> Revision 6db0919

Revision 6db0919 by Germano Cavalcante (master)
December 21, 2021, 16:00 (GMT)
Fix T94191: correct (time) translation headers not showing DeltaX

Caused by {rBb0d9e6797fb8}

For the header (both Graph Editor case in general `headerTranslation` as
well as `headerTimeTranslate`) we are interested in deltas values
(not absolute values).

Since culprit commit, `snapFrameTransform` was not working with deltas
anymore, but we have to compensate for this.

For the Graph Editor, this only worked "by accident" in rB7192e57d63a5,
since `ival` is still zero at this point.

So now, reacquire the delta right after the snap operation.

Also use a more appropriate center value in the translate operator.

Maniphest Tasks: T94191

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

Commit Details:

Full Hash: 6db09197242c49ce36949c48bfe2bb7280f85e1a
Parent Commit: aa7105f
Lines Changed: +12, -10

2 Modified Paths:

/source/blender/editors/transform/transform_mode_timetranslate.c (+8, -7) (Diff)
/source/blender/editors/transform/transform_mode_translate.c (+4, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021