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