Merged changes in the trunk up to revision 46045.
[blender-staging.git] / source / blender / editors / space_nla / nla_buttons.c
index 9bacdf8327baeea75f6e2991cbbcc89d2dedfcdf..17be87052c4c696484f50d9741c96cbb5d2957a3 100644 (file)
@@ -42,7 +42,6 @@
 
 #include "BLI_math.h"
 #include "BLI_blenlib.h"
-#include "BLI_editVert.h"
 #include "BLI_rand.h"
 
 #include "BLF_translation.h"
@@ -77,7 +76,7 @@ static void do_nla_region_buttons(bContext *C, void *UNUSED(arg), int event)
 {
        //Scene *scene= CTX_data_scene(C);
        
-       switch(event) {
+       switch (event) {
 
        }
        
@@ -520,7 +519,7 @@ static int nla_properties(bContext *C, wmOperator *UNUSED(op))
        ScrArea *sa= CTX_wm_area(C);
        ARegion *ar= nla_has_buttons_region(sa);
        
-       if(ar)
+       if (ar)
                ED_region_toggle_hidden(C, ar);
 
        return OPERATOR_FINISHED;
@@ -528,13 +527,13 @@ static int nla_properties(bContext *C, wmOperator *UNUSED(op))
 
 void NLA_OT_properties(wmOperatorType *ot)
 {
-       ot->name= "Properties";
-       ot->idname= "NLA_OT_properties";
-       ot->description= "Toggle display properties panel";
+       ot->name = "Properties";
+       ot->idname = "NLA_OT_properties";
+       ot->description = "Toggle display properties panel";
        
-       ot->exec= nla_properties;
-       ot->poll= ED_operator_nla_active;
+       ot->exec = nla_properties;
+       ot->poll = ED_operator_nla_active;
 
        /* flags */
-       ot->flag= 0;
+       ot->flag = 0;
 }