Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert_graph.c
| Show First 20 Lines • Show All 928 Lines • ▼ Show 20 Lines | if (!fcu_test_selected(fcu)) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| /* watch it: if the time is wrong: do not correct handles yet */ | /* watch it: if the time is wrong: do not correct handles yet */ | ||||
| if (test_time_fcurve(fcu)) { | if (test_time_fcurve(fcu)) { | ||||
| dosort++; | dosort++; | ||||
| } | } | ||||
| else { | else { | ||||
| calchandles_fcurve_ex(fcu, BEZT_FLAG_TEMP_TAG); | BKE_fcurve_handles_recalc_ex(fcu, BEZT_FLAG_TEMP_TAG); | ||||
| } | } | ||||
| /* set refresh tags for objects using this animation, | /* set refresh tags for objects using this animation, | ||||
| * BUT only if realtime updates are enabled | * BUT only if realtime updates are enabled | ||||
| */ | */ | ||||
| if ((sipo->flag & SIPO_NOREALTIMEUPDATES) == 0) { | if ((sipo->flag & SIPO_NOREALTIMEUPDATES) == 0) { | ||||
| ANIM_list_elem_update(CTX_data_main(t->context), t->scene, ale); | ANIM_list_elem_update(CTX_data_main(t->context), t->scene, ale); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines | |||||