forked from bartvdbraak/blender
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.
This commit is contained in:
parent
a167816d8b
commit
ad4e1df46b
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user