Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_action / action_buttons.c
index fbe7269..a5cc66a 100644 (file)
@@ -75,9 +75,9 @@ void action_buttons_register(ARegionType *UNUSED(art))
 {
 #if 0
        PanelType *pt;
-       
+
        // TODO: AnimData / Actions List
-       
+
        pt = MEM_callocN(sizeof(PanelType), "spacetype action panel properties");
        strcpy(pt->idname, "ACTION_PT_properties");
        strcpy(pt->label, N_("Active F-Curve"));
@@ -85,7 +85,7 @@ void action_buttons_register(ARegionType *UNUSED(art))
        pt->draw = action_anim_panel_properties;
        pt->poll = action_anim_panel_poll;
        BLI_addtail(&art->paneltypes, pt);
-       
+
        pt = MEM_callocN(sizeof(PanelType), "spacetype action panel properties");
        strcpy(pt->idname, "ACTION_PT_key_properties");
        strcpy(pt->label, N_("Active Keyframe"));
@@ -93,7 +93,7 @@ void action_buttons_register(ARegionType *UNUSED(art))
        pt->draw = action_anim_panel_key_properties;
        pt->poll = action_anim_panel_poll;
        BLI_addtail(&art->paneltypes, pt);
-       
+
        pt = MEM_callocN(sizeof(PanelType), "spacetype action panel modifiers");
        strcpy(pt->idname, "ACTION_PT_modifiers");
        strcpy(pt->label, N_("Modifiers"));
@@ -108,7 +108,7 @@ static int action_properties_toggle_exec(bContext *C, wmOperator *UNUSED(op))
 {
        ScrArea *sa = CTX_wm_area(C);
        ARegion *ar = action_has_buttons_region(sa);
-       
+
        if (ar)
                ED_region_toggle_hidden(C, ar);
 
@@ -120,7 +120,7 @@ void ACTION_OT_properties(wmOperatorType *ot)
        ot->name = "Properties";
        ot->idname = "ACTION_OT_properties";
        ot->description = "Toggle the properties region visibility";
-       
+
        ot->exec = action_properties_toggle_exec;
        ot->poll = ED_operator_action_active;