Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/animation/fmodifier_ui.c
| Show First 20 Lines • Show All 1,014 Lines • ▼ Show 20 Lines | for (fcm = fmodifier_copypaste_buf.first; fcm; fcm = fcm->next) { | ||||
| /* now add it to the end of the list */ | /* now add it to the end of the list */ | ||||
| BLI_addtail(modifiers, fcmN); | BLI_addtail(modifiers, fcmN); | ||||
| ok = 1; | ok = 1; | ||||
| } | } | ||||
| /* adding or removing the Cycles modifier requires an update to handles */ | /* adding or removing the Cycles modifier requires an update to handles */ | ||||
| if (curve && BKE_fcurve_is_cyclic(curve) != was_cyclic) { | if (curve && BKE_fcurve_is_cyclic(curve) != was_cyclic) { | ||||
| calchandles_fcurve(curve); | BKE_fcurve_handles_recalc(curve); | ||||
| } | } | ||||
| /* did we succeed? */ | /* did we succeed? */ | ||||
| return ok; | return ok; | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||