From ad4e1df46bc603616f7992ffe320e42528d13989 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 2 Jan 2009 10:58:30 +0000 Subject: 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. --- intern/ghost/intern/GHOST_WindowCarbon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern') diff --git a/intern/ghost/intern/GHOST_WindowCarbon.cpp b/intern/ghost/intern/GHOST_WindowCarbon.cpp index 68cd03026d8..ba094501fe5 100644 --- a/intern/ghost/intern/GHOST_WindowCarbon.cpp +++ b/intern/ghost/intern/GHOST_WindowCarbon.cpp @@ -326,7 +326,7 @@ GHOST_TWindowState GHOST_WindowCarbon::getState() const { 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)) { -- cgit v1.2.3