Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_nla/nla_edit.c
| Show First 20 Lines • Show All 2,199 Lines • ▼ Show 20 Lines | for (strip = nlt->strips.first; strip; strip = strip->next) { | ||||
| copied = true; | copied = true; | ||||
| } | } | ||||
| /* setup iterator, and iterate over all the keyframes in the action, | /* setup iterator, and iterate over all the keyframes in the action, | ||||
| * applying this scaling */ | * applying this scaling */ | ||||
| ked.data = strip; | ked.data = strip; | ||||
| ANIM_animchanneldata_keyframes_loop( | ANIM_animchanneldata_keyframes_loop( | ||||
| &ked, ac.ads, strip->act, ALE_ACT, NULL, bezt_apply_nlamapping, calchandles_fcurve); | &ked, ac.ads, strip->act, ALE_ACT, NULL, bezt_apply_nlamapping, BKE_fcurve_handles_recalc); | ||||
| /* clear scale of strip now that it has been applied, | /* clear scale of strip now that it has been applied, | ||||
| * and recalculate the extents of the action now that it has been scaled | * and recalculate the extents of the action now that it has been scaled | ||||
| * but leave everything else alone | * but leave everything else alone | ||||
| */ | */ | ||||
| const float start = nlastrip_get_frame(strip, strip->actstart, NLATIME_CONVERT_MAP); | const float start = nlastrip_get_frame(strip, strip->actstart, NLATIME_CONVERT_MAP); | ||||
| const float end = nlastrip_get_frame(strip, strip->actend, NLATIME_CONVERT_MAP); | const float end = nlastrip_get_frame(strip, strip->actend, NLATIME_CONVERT_MAP); | ||||
| ▲ Show 20 Lines • Show All 615 Lines • Show Last 20 Lines | |||||