[Bf-blender-cvs] [6e8a8a7] master: OSX: change previous commit to not only make animation-player window frontmost but whole process

Jens Verwiebe noreply at git.blender.org
Sat Dec 6 12:13:53 CET 2014


Commit: 6e8a8a72a3ce00b3d16c0301fac0c2e24cf027a4
Author: Jens Verwiebe
Date:   Sat Dec 6 12:13:28 2014 +0100
Branches: master
https://developer.blender.org/rB6e8a8a72a3ce00b3d16c0301fac0c2e24cf027a4

OSX: change previous commit to not only make animation-player window frontmost but whole process

===================================================================

M	intern/ghost/intern/GHOST_WindowCocoa.mm

===================================================================

diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
index fed44ea..65d371c 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.mm
+++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
@@ -645,7 +645,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa(
 		m_lionStyleFullScreen = true;
 	}
 	
-	[m_window orderFrontRegardless]; // to rise window for new blender instance animation play case
+	[NSApp activateIgnoringOtherApps:YES]; // raise application to front, important for new blender instance animation play case
 	
 	[pool drain];
 }




More information about the Bf-blender-cvs mailing list