[Bf-funboard] remove shift+mousewheel action in video sequence editor

buergi pat_buergi124 at gmx.de
Fri Aug 3 22:20:21 CEST 2007


hello
i think the shift+mosewheel action to insert/remove gaps between strips
is quiet annoying and superfluous.
i got used to pan the space with ctrl and shift + mousewheel like in any
other window, 3dview, ipo, action, nla, timeline etc.
but in the sequence editior you move around your strips. think such a
modifing function should not use the same hotkey as
viewport changing functions in almost any other window.

think the gap functions are used only very rare and if you need them you
can use the alternative hotkey shift/alt + num +/-

buergi

here is a mini patch (against current svn) :) it uses the default
view2dmove() to pan the screen

Index: source/blender/src/space.c
===================================================================
--- source/blender/src/space.c    (Revision 11425)
+++ source/blender/src/space.c    (Arbeitskopie)
@@ -4336,9 +4336,15 @@
             if(sseq->mainb) break;
             mouse_select_seq();
             break;
-        case PADPLUSKEY:
         case WHEELUPMOUSE:
+        case WHEELDOWNMOUSE:
+            view2dmove(event);    /* in drawipo.c */
+            break;
             if(sseq->mainb) {
+        case WHEELDOWNMOUSE:
+            view2dmove(event);    /* in drawipo.c */
+            break;
+        case PADPLUSKEY:
                 sseq->zoom++;
                 if(sseq->zoom==-1) sseq->zoom= 1;
                 if(sseq->zoom>8) sseq->zoom= 8;
@@ -4365,7 +4371,6 @@
             doredraw= 1;
             break;
         case PADMINUS:
-        case WHEELDOWNMOUSE:
             if(sseq->mainb) {
                 sseq->zoom--;
                 if(sseq->zoom==0) sseq->zoom= -2;
@@ -5013,7 +5018,6 @@
             break;
         case MIDDLEMOUSE:
         case WHEELUPMOUSE:
-        case WHEELDOWNMOUSE:
             view2dmove(event);    /* in drawipo.c */
             soops->storeflag |= SO_TREESTORE_REDRAW;
             break;




More information about the Bf-funboard mailing list