[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60418] trunk/blender/intern/ghost/intern/ GHOST_SystemCocoa.mm: OSX: more descriptive comment

jens verwiebe info at jensverwiebe.de
Sun Sep 29 12:11:50 CEST 2013


Revision: 60418
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60418
Author:   jensverwiebe
Date:     2013-09-29 10:11:49 +0000 (Sun, 29 Sep 2013)
Log Message:
-----------
OSX: more descriptive  comment

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2013-09-29 10:00:34 UTC (rev 60417)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2013-09-29 10:11:49 UTC (rev 60418)
@@ -1025,7 +1025,7 @@
 	}
 		switch (eventType) {
 			case GHOST_kEventWindowClose:
-				// make sure index 1 exists and compare window adress
+				// check for index 1 and discard close for mainwindow as it would quit blender without dialog
 				if ([windowsList count] > 1 && (window->get_m_window() != [windowsList objectAtIndex:1])) {
 					pushEvent( new GHOST_Event(getMilliSeconds(), GHOST_kEventWindowClose, window) );
 				}




More information about the Bf-blender-cvs mailing list