Removed injust assertion failure when clicking on the menu bar. Debug target would complain about an invalid window.
Maarten
This commit is contained in:
parent
729281a021
commit
6cafc69ef6
|
@ -629,7 +629,6 @@ bool GHOST_SystemCarbon::handleMouseDown(EventRef event)
|
|||
|
||||
part = ::FindWindow(mousePos, &window);
|
||||
ghostWindow = (GHOST_IWindow*) ::GetWRefCon(window);
|
||||
GHOST_ASSERT(validWindow(ghostWindow), "GHOST_SystemCarbon::handleMouseEvent: invalid window");
|
||||
|
||||
switch (part) {
|
||||
case inMenuBar:
|
||||
|
|
Loading…
Reference in New Issue