Fix stupid mistake
authorAntony Riakiotakis <kalast@gmail.com>
Tue, 23 Jun 2015 10:58:33 +0000 (12:58 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Tue, 23 Jun 2015 10:58:33 +0000 (12:58 +0200)
source/blender/windowmanager/intern/wm_operators.c

index bcc49aff547fdd320071a94bd1b94c99cd3f1b54..66dd851fc91137ba38f94fec612c7316fc84d587 100644 (file)
@@ -4638,8 +4638,8 @@ static EnumPropertyItem redraw_timer_type_items[] = {
        {eRTDrawWindowSwap, "DRAW_WIN_SWAP", 0, "Draw Window + Swap", "Draw Window and Swap"},
        {eRTAnimationStep, "ANIM_STEP", 0, "Anim Step", "Animation Steps"},
        {eRTAnimationPlay, "ANIM_PLAY", 0, "Anim Play", "Animation Playback"},
-       {6, "UNDO", 0, "Undo/Redo", "Undo/Redo"},
-       {eRTUndo, NULL, 0, NULL, NULL}
+       {eRTUndo, "UNDO", 0, "Undo/Redo", "Undo/Redo"},
+       {0, NULL, 0, NULL, NULL}
 };
 
 static int redraw_timer_exec(bContext *C, wmOperator *op)