[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25768] trunk/blender/intern/ghost/intern/ GHOST_WindowCocoa.mm: Cocoa: small potential issue remained from fullscreen ancient ages in the Window getValid function

Damien Plisson damien.plisson at yahoo.fr
Wed Jan 6 10:22:40 CET 2010


Revision: 25768
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25768
Author:   damien78
Date:     2010-01-06 10:22:40 +0100 (Wed, 06 Jan 2010)

Log Message:
-----------
Cocoa: small potential issue remained from fullscreen ancient ages in the Window getValid function

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

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm	2010-01-06 08:46:04 UTC (rev 25767)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowCocoa.mm	2010-01-06 09:22:40 UTC (rev 25768)
@@ -398,14 +398,7 @@
 
 bool GHOST_WindowCocoa::getValid() const
 {
-    bool valid;
-    if (!m_fullScreen) {
-        valid = (m_window != 0); //&& ::IsValidWindowPtr(m_windowRef);
-    }
-    else {
-        valid = true;
-    }
-    return valid;
+	return (m_window != 0);
 }
 
 





More information about the Bf-blender-cvs mailing list