[Bf-blender-cvs] [825d6ad] master: OSX: make sure window of new blender instance is front when playing animation

Jens Verwiebe noreply at git.blender.org
Fri Dec 5 18:42:33 CET 2014


Commit: 825d6adef5c47b172475c0359769b394f2adaf7a
Author: Jens Verwiebe
Date:   Fri Dec 5 18:41:59 2014 +0100
Branches: master
https://developer.blender.org/rB825d6adef5c47b172475c0359769b394f2adaf7a

OSX: make sure window of new blender instance is front when playing animation

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

M	intern/ghost/intern/GHOST_WindowCocoa.mm

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

diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
index ab313b0..fed44ea 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.mm
+++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
@@ -645,6 +645,8 @@ GHOST_WindowCocoa::GHOST_WindowCocoa(
 		m_lionStyleFullScreen = true;
 	}
 	
+	[m_window orderFrontRegardless]; // to rise window for new blender instance animation play case
+	
 	[pool drain];
 }




More information about the Bf-blender-cvs mailing list