Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gpencil/gpencil_convert.c
| Show First 20 Lines • Show All 582 Lines • ▼ Show 20 Lines | else { | ||||
| gpencil_stroke_path_animation_add_keyframes( | gpencil_stroke_path_animation_add_keyframes( | ||||
| reports, ptr, prop, depsgraph, fcu, cu, gtd, rng, time_range, gaps_count, tot_gaps_time); | reports, ptr, prop, depsgraph, fcu, cu, gtd, rng, time_range, gaps_count, tot_gaps_time); | ||||
| BLI_rng_free(rng); | BLI_rng_free(rng); | ||||
| } | } | ||||
| /* As we used INSERTKEY_FAST mode, we need to recompute all curve's handles now */ | /* As we used INSERTKEY_FAST mode, we need to recompute all curve's handles now */ | ||||
| calchandles_fcurve(fcu); | BKE_fcurve_handles_recalc(fcu); | ||||
| WM_event_add_notifier(C, NC_ANIMATION | ND_KEYFRAME | NA_EDITED, NULL); | WM_event_add_notifier(C, NC_ANIMATION | ND_KEYFRAME | NA_EDITED, NULL); | ||||
| /* send updates */ | /* send updates */ | ||||
| DEG_id_tag_update(&cu->id, 0); | DEG_id_tag_update(&cu->id, 0); | ||||
| } | } | ||||
| #undef MIN_TIME_DELTA | #undef MIN_TIME_DELTA | ||||
| ▲ Show 20 Lines • Show All 1,265 Lines • Show Last 20 Lines | |||||