diff options
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r-- | source/blender/editors/space_nla/nla_buttons.c | 24 | ||||
-rw-r--r-- | source/blender/editors/space_nla/nla_intern.h | 1 | ||||
-rw-r--r-- | source/blender/editors/space_nla/nla_ops.c | 3 |
3 files changed, 0 insertions, 28 deletions
diff --git a/source/blender/editors/space_nla/nla_buttons.c b/source/blender/editors/space_nla/nla_buttons.c index b19dc3680bf..fb657a31d34 100644 --- a/source/blender/editors/space_nla/nla_buttons.c +++ b/source/blender/editors/space_nla/nla_buttons.c @@ -562,27 +562,3 @@ void nla_buttons_register(ARegionType *art) pt->poll = nla_strip_eval_panel_poll; BLI_addtail(&art->paneltypes, pt); } - -static int nla_properties_toggle_exec(bContext *C, wmOperator *UNUSED(op)) -{ - ScrArea *sa = CTX_wm_area(C); - ARegion *ar = nla_has_buttons_region(sa); - - if (ar) - ED_region_toggle_hidden(C, ar); - - return OPERATOR_FINISHED; -} - -void NLA_OT_properties(wmOperatorType *ot) -{ - ot->name = "Toggle Sidebar"; - ot->idname = "NLA_OT_properties"; - ot->description = "Toggle the properties region visibility"; - - ot->exec = nla_properties_toggle_exec; - ot->poll = ED_operator_nla_active; - - /* flags */ - ot->flag = 0; -} diff --git a/source/blender/editors/space_nla/nla_intern.h b/source/blender/editors/space_nla/nla_intern.h index 291dfe17343..ea067cf4847 100644 --- a/source/blender/editors/space_nla/nla_intern.h +++ b/source/blender/editors/space_nla/nla_intern.h @@ -40,7 +40,6 @@ bool nla_panel_context(const bContext *C, PointerRNA *strip_ptr); void nla_buttons_register(ARegionType *art); -void NLA_OT_properties(wmOperatorType *ot); /* **************************************** */ /* nla_draw.c */ diff --git a/source/blender/editors/space_nla/nla_ops.c b/source/blender/editors/space_nla/nla_ops.c index 51d6232cf71..2715c07164b 100644 --- a/source/blender/editors/space_nla/nla_ops.c +++ b/source/blender/editors/space_nla/nla_ops.c @@ -100,9 +100,6 @@ bool nlaedit_is_tweakmode_on(bAnimContext *ac) void nla_operatortypes(void) { - /* view */ - WM_operatortype_append(NLA_OT_properties); - /* channels */ WM_operatortype_append(NLA_OT_channels_click); |