Bug #3837
authorMartin Poirier <theeth@yahoo.com>
Sun, 29 Jan 2006 19:38:52 +0000 (19:38 +0000)
committerMartin Poirier <theeth@yahoo.com>
Sun, 29 Jan 2006 19:38:52 +0000 (19:38 +0000)
A commented if in toets.c for flipping the render buffer prevented the propagation of the keypress to handler in space.c

Ton: I added a temporary check for no qualifier but it's missing a test for an opened render window.

source/blender/src/toets.c

index 0770c05cff588a4dae5dcfb3f38c2654a753ddc0..9c3957a6fab7f5960b8532549558f01b7a79ea2e 100644 (file)
@@ -684,10 +684,11 @@ int blenderqread(unsigned short event, short val)
                break;
        case JKEY:
                if(textediting==0 && textspace==0) {
-//                     if(R.rectot && G.qual==0) {
+                       /* NEED CHECK FOR RENDER WINDOW HERE */
+                       if (G.qual==0) {
                                BIF_swap_render_rects();
                                return 0;
-//                     }
+                       }
                }
                break;