soc-2008-mxcurioni: merged changes to revision 14798, compilation works for rendering...
[blender-staging.git] / source / blender / src / space.c
index cc7f4322ed93c0df2f03a8d8e91c183deab99cee..08a073d45b27bebc2bb576e708ac3d4952df1c4f 100644 (file)
@@ -4916,7 +4916,7 @@ static void winqreadseqspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
                        break;
                case HOMEKEY:
                        if((G.qual==0))
-                               seq_home();
+                               do_seq_buttons(B_SEQHOME);
                        break;
                case PADPERIOD: 
                        if(last_seq) {
@@ -5066,10 +5066,8 @@ static void winqreadseqspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
                case HKEY: /* hide==mute? - not that nice but MKey us used for meta :/ */
                        if((G.qual==0)) {
                                seq_mute_sel(1);
-                       } else if(G.qual==LR_ALTKEY) {
+                       } else if((G.qual==LR_ALTKEY)) {
                                seq_mute_sel(0);
-                       } else if(G.qual==LR_SHIFTKEY) {
-                               seq_mute_sel(-1);
                        }
                        break;
                case XKEY:
@@ -5080,11 +5078,7 @@ static void winqreadseqspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
                                        del_seq();
                        }
                        break;
-               case PAD1: case PAD2: case PAD4: case PAD8:
-                       seq_viewzoom(event, (G.qual & LR_SHIFTKEY)==0);
-                       doredraw= 1;
-                       break;
-               }       
+               }
        }
 
        if(doredraw) scrarea_queue_winredraw(curarea);