Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / editors / interface / view2d_ops.c
index 3e00988..1e8cda6 100644 (file)
@@ -235,7 +235,6 @@ static int view_pan_modal(bContext *C, wmOperator *op, wmEvent *event)
                }
                        break;
                        
-               case LEFTMOUSE:
                case MIDDLEMOUSE:
                        if (event->val==0) {
                                /* calculate overall delta mouse-movement for redo */
@@ -257,7 +256,6 @@ void VIEW2D_OT_pan(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Pan View";
-       ot->description= "Pan the view.";
        ot->idname= "VIEW2D_OT_pan";
        
        /* api callbacks */
@@ -306,7 +304,6 @@ void VIEW2D_OT_scroll_right(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Scroll Right";
-       ot->description= "Scroll the view right.";
        ot->idname= "VIEW2D_OT_scroll_right";
        
        /* api callbacks */
@@ -353,7 +350,6 @@ void VIEW2D_OT_scroll_left(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Scroll Left";
-       ot->description= "Scroll the view left.";
        ot->idname= "VIEW2D_OT_scroll_left";
        
        /* api callbacks */
@@ -399,7 +395,6 @@ void VIEW2D_OT_scroll_down(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Scroll Down";
-       ot->description= "Scroll the view down.";
        ot->idname= "VIEW2D_OT_scroll_down";
        
        /* api callbacks */
@@ -446,7 +441,6 @@ void VIEW2D_OT_scroll_up(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Scroll Up";
-       ot->description= "Scroll the view up.";
        ot->idname= "VIEW2D_OT_scroll_up";
        
        /* api callbacks */
@@ -580,7 +574,6 @@ void VIEW2D_OT_zoom_in(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Zoom In";
-       ot->description= "Zoom in the view.";
        ot->idname= "VIEW2D_OT_zoom_in";
        
        /* api callbacks */
@@ -617,7 +610,6 @@ void VIEW2D_OT_zoom_out(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Zoom Out";
-       ot->description= "Zoom out the view.";
        ot->idname= "VIEW2D_OT_zoom_out";
        
        /* api callbacks */
@@ -834,7 +826,6 @@ static int view_zoomdrag_modal(bContext *C, wmOperator *op, wmEvent *event)
                }
                        break;
                        
-               case LEFTMOUSE:
                case MIDDLEMOUSE:
                        if (event->val==0) {
                                /* for redo, store the overall deltas - need to respect zoom-locks here... */
@@ -864,7 +855,6 @@ void VIEW2D_OT_zoom(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Zoom View";
-       ot->description= "Zoom in/out the view.";
        ot->idname= "VIEW2D_OT_zoom";
        
        /* api callbacks */
@@ -966,7 +956,6 @@ void VIEW2D_OT_zoom_border(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Zoom to Border";
-       ot->description= "Zoom in the view to the nearest item contained in the border.";
        ot->idname= "VIEW2D_OT_zoom_border";
        
        /* api callbacks */
@@ -1306,7 +1295,6 @@ void VIEW2D_OT_scroller_activate(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Scroller Activate";
-       ot->description= "Scroll view by mouse click and drag.";
        ot->idname= "VIEW2D_OT_scroller_activate";
 
        /* flags */
@@ -1373,7 +1361,6 @@ void VIEW2D_OT_reset(wmOperatorType *ot)
 {
        /* identifiers */
        ot->name= "Reset View";
-       ot->description= "Reset the view.";
        ot->idname= "VIEW2D_OT_reset";
        
        /* api callbacks */