[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18258] branches/blender2.5/blender/intern /ghost/intern/GHOST_WindowCarbon.cpp: 2.5
Ton Roosendaal
ton at blender.org
Fri Jan 2 11:58:31 CET 2009
Revision: 18258
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18258
Author: ton
Date: 2009-01-02 11:58:30 +0100 (Fri, 02 Jan 2009)
Log Message:
-----------
2.5
Bugfix in OSX ghost!
The GHOST_TWindowState was set to 'invisble' always... which is a
state now handled correctly in Blender. It caused the window to not
refresh when resizing.
Modified Paths:
--------------
branches/blender2.5/blender/intern/ghost/intern/GHOST_WindowCarbon.cpp
Modified: branches/blender2.5/blender/intern/ghost/intern/GHOST_WindowCarbon.cpp
===================================================================
--- branches/blender2.5/blender/intern/ghost/intern/GHOST_WindowCarbon.cpp 2009-01-02 10:42:13 UTC (rev 18257)
+++ branches/blender2.5/blender/intern/ghost/intern/GHOST_WindowCarbon.cpp 2009-01-02 10:58:30 UTC (rev 18258)
@@ -326,7 +326,7 @@
{
GHOST_ASSERT(getValid(), "GHOST_WindowCarbon::getState(): window invalid")
GHOST_TWindowState state;
- if (::IsWindowVisible(m_windowRef)) {
+ if (::IsWindowVisible(m_windowRef) == false) {
state = GHOST_kWindowStateMinimized;
}
else if (::IsWindowInStandardState(m_windowRef, nil, nil)) {
More information about the Bf-blender-cvs
mailing list