Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/animation/anim_channels_edit.c
| Show First 20 Lines • Show All 2,528 Lines • ▼ Show 20 Lines | static int animchannels_enable_exec(bContext *C, wmOperator *UNUSED(op)) | ||||
| return OPERATOR_FINISHED; | return OPERATOR_FINISHED; | ||||
| } | } | ||||
| static void ANIM_OT_channels_fcurves_enable(wmOperatorType *ot) | static void ANIM_OT_channels_fcurves_enable(wmOperatorType *ot) | ||||
| { | { | ||||
| /* identifiers */ | /* identifiers */ | ||||
| ot->name = "Revive Disabled F-Curves"; | ot->name = "Revive Disabled F-Curves"; | ||||
| ot->idname = "ANIM_OT_channels_fcurves_enable"; | ot->idname = "ANIM_OT_channels_fcurves_enable"; | ||||
| ot->description = "Clears 'disabled' tag from all F-Curves to get broken F-Curves working again"; | ot->description = "Clear 'disabled' tag from all F-Curves to get broken F-Curves working again"; | ||||
| /* api callbacks */ | /* api callbacks */ | ||||
| ot->exec = animchannels_enable_exec; | ot->exec = animchannels_enable_exec; | ||||
| ot->poll = animchannels_enable_poll; | ot->poll = animchannels_enable_poll; | ||||
| /* flags */ | /* flags */ | ||||
| ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 1,126 Lines • Show Last 20 Lines | |||||