Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_anim.c
| Show First 20 Lines • Show All 287 Lines • ▼ Show 20 Lines | bool ui_but_anim_expression_create(uiBut *but, const char *str) | ||||
| MEM_freeN(path); | MEM_freeN(path); | ||||
| return ok; | return ok; | ||||
| } | } | ||||
| void ui_but_anim_autokey(bContext *C, uiBut *but, Scene *scene, float cfra) | void ui_but_anim_autokey(bContext *C, uiBut *but, Scene *scene, float cfra) | ||||
| { | { | ||||
| ED_autokeyframe_property(C, scene, &but->rnapoin, but->rnaprop, but->rnaindex, cfra); | ED_autokeyframe_property(C, scene, &but->rnapoin, but->rnaprop, but->rnaindex, cfra, true); | ||||
| } | } | ||||
| void ui_but_anim_copy_driver(bContext *C) | void ui_but_anim_copy_driver(bContext *C) | ||||
| { | { | ||||
| /* this operator calls UI_context_active_but_prop_get */ | /* this operator calls UI_context_active_but_prop_get */ | ||||
| WM_operator_name_call(C, "ANIM_OT_copy_driver_button", WM_OP_INVOKE_DEFAULT, NULL, NULL); | WM_operator_name_call(C, "ANIM_OT_copy_driver_button", WM_OP_INVOKE_DEFAULT, NULL, NULL); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines | |||||