diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-10-02 23:00:16 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-10-02 23:00:16 +0400 |
commit | e308c2f166c1d59b52fdf4226d1fdbb3f669c678 (patch) | |
tree | 946cce0d74ce788a9ec462e005229a65b87f2db4 /intern/ghost | |
parent | 8686f9fe03805b111dee5c33c69d3bbc3eb50aed (diff) |
Fix #36316: dots in cycles render on certain CPUs with 32 bit linux builds.
There is some sort of problem with the SSE2 code path, but I couldn't find
the cause, maybe a compiler bug due to the large amount of inlining? For
now I've disabled SSE2 optimizatons in 32 bit GCC builds.
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 9cea4210769..770cfca6968 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1025,6 +1025,8 @@ GHOST_TSuccess GHOST_SystemCocoa::handleWindowEvent(GHOST_TEventType eventType, } switch (eventType) { case GHOST_kEventWindowClose: + // make window that should be closed frontmost + [window->getCocoaWindow() makeKeyAndOrderFront:nil]; // check for index of mainwindow as it would quit blender without dialog and discard if (window->getCocoaWindow() != [windowsList objectAtIndex:([windowsList count] - 1)]) { pushEvent( new GHOST_Event(getMilliSeconds(), GHOST_kEventWindowClose, window) ); |