Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/action_mirror.c
| Show First 20 Lines • Show All 357 Lines • ▼ Show 20 Lines | ((void)0) | ||||
| /* No need to write back 'rotmode' as it can't be transformed. */ | /* No need to write back 'rotmode' as it can't be transformed. */ | ||||
| #undef WRITE_ARRAY_FLT | #undef WRITE_ARRAY_FLT | ||||
| #undef WRITE_VALUE_FLT | #undef WRITE_VALUE_FLT | ||||
| } | } | ||||
| /* Recalculate handles. */ | /* Recalculate handles. */ | ||||
| for (int i = 0; i < fcurve_array_len; i++) { | for (int i = 0; i < fcurve_array_len; i++) { | ||||
| calchandles_fcurve_ex(fcurve_array[i], 0); | BKE_fcurve_handles_recalc_ex(fcurve_array[i], 0); | ||||
| } | } | ||||
| MEM_freeN((void *)keyed_frames); | MEM_freeN((void *)keyed_frames); | ||||
| for (int chan = 0; chan < FCURVE_CHANNEL_LEN; chan++) { | for (int chan = 0; chan < FCURVE_CHANNEL_LEN; chan++) { | ||||
| struct FCurve_KeyCache *fkc = (struct FCurve_KeyCache *)(&fkc_pchan) + chan; | struct FCurve_KeyCache *fkc = (struct FCurve_KeyCache *)(&fkc_pchan) + chan; | ||||
| if (fkc->fcurve_eval) { | if (fkc->fcurve_eval) { | ||||
| MEM_freeN(fkc->fcurve_eval); | MEM_freeN(fkc->fcurve_eval); | ||||
| ▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines | |||||