Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/animation/keyframing.c
| Show First 20 Lines • Show All 2,367 Lines • ▼ Show 20 Lines | void ANIM_OT_keyframe_delete_v3d(wmOperatorType *ot) | ||||
| /* flags */ | /* flags */ | ||||
| ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ||||
| } | } | ||||
| /* Insert Key Button Operator ------------------------ */ | /* Insert Key Button Operator ------------------------ */ | ||||
| static int insert_key_button_exec(bContext *C, wmOperator *op) | static int insert_key_button_exec(bContext *C, wmOperator *op) | ||||
| { | { | ||||
| Depsgraph *depsgraph = CTX_data_depsgraph(C); | Depsgraph *depsgraph = CTX_data_ensure_evaluated_depsgraph(C); | ||||
| Main *bmain = CTX_data_main(C); | Main *bmain = CTX_data_main(C); | ||||
| Scene *scene = CTX_data_scene(C); | Scene *scene = CTX_data_scene(C); | ||||
| ToolSettings *ts = scene->toolsettings; | ToolSettings *ts = scene->toolsettings; | ||||
| PointerRNA ptr = {{NULL}}; | PointerRNA ptr = {{NULL}}; | ||||
| PropertyRNA *prop = NULL; | PropertyRNA *prop = NULL; | ||||
| char *path; | char *path; | ||||
| uiBut *but; | uiBut *but; | ||||
| float cfra = (float)CFRA; | float cfra = (float)CFRA; | ||||
| ▲ Show 20 Lines • Show All 650 Lines • Show Last 20 Lines | |||||