Support proportional edit scaling on dopesheet keyframes
Fixes T60361 Reviewers: brecht Maniphest Tasks: T60361 Differential Revision: https://developer.blender.org/D4188
This commit is contained in:
parent
92a081ff83
commit
ba2b26af31
Notes:
blender-bot
2023-02-14 05:44:22 +01:00
Referenced by issue #60361, Scaling + Proportional editing doesn't work on dopesheet keyframes
|
@ -9181,6 +9181,9 @@ static void applyTimeScaleValue(TransInfo *t)
|
|||
fac = floorf(fac + 0.5f);
|
||||
}
|
||||
|
||||
/* take proportional editing into account */
|
||||
fac = ((fac - 1.0f) * td->factor) + 1;
|
||||
|
||||
/* check if any need to apply nla-mapping */
|
||||
if (adt)
|
||||
startx = BKE_nla_tweakedit_remap(adt, startx, NLATIME_CONVERT_UNMAP);
|
||||
|
|
Loading…
Reference in New Issue