Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_fcurve.h
| Show First 20 Lines • Show All 477 Lines • ▼ Show 20 Lines | |||||
| */ | */ | ||||
| bool BKE_fcurve_delete_keys_selected(struct FCurve *fcu); | bool BKE_fcurve_delete_keys_selected(struct FCurve *fcu); | ||||
| /** | /** | ||||
| * Delete all keyframes from an F-curve. | * Delete all keyframes from an F-curve. | ||||
| */ | */ | ||||
| void BKE_fcurve_delete_keys_all(struct FCurve *fcu); | void BKE_fcurve_delete_keys_all(struct FCurve *fcu); | ||||
| /** | |||||
| * Called during transform/snapping to make sure selected keyframes replace | |||||
| * any other keyframes which may reside on that frame (that is not selected). | |||||
| * | |||||
| * \param sel_flag: The flag (bezt.f1/2/3) value to use to determine selection. Usually `SELECT`, | |||||
| * but may want to use a different one at times (if caller does not operate on | |||||
| * selection). | |||||
| */ | |||||
| void BKE_fcurve_merge_duplicate_keys(struct FCurve *fcu, | |||||
| const int sel_flag, | |||||
| const bool use_handle); | |||||
| /* -------- Curve Sanity -------- */ | /* -------- Curve Sanity -------- */ | ||||
| /** | /** | ||||
| * This function recalculates the handles of an F-Curve. Acts based on selection with `SELECT` | * This function recalculates the handles of an F-Curve. Acts based on selection with `SELECT` | ||||
| * flag. To use a different flag, use #BKE_fcurve_handles_recalc_ex(). | * flag. To use a different flag, use #BKE_fcurve_handles_recalc_ex(). | ||||
| * | * | ||||
| * If the BezTriples have been rearranged, sort them first before using this. | * If the BezTriples have been rearranged, sort them first before using this. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines | |||||