Fix T70252: Reverting to macOS 10.11 compatible API.

This commit is contained in:
Stefan Werner 2019-10-02 10:22:26 +02:00
parent 3b23685c7d
commit f97a64aa9b
Notes: blender-bot 2023-02-14 10:29:30 +01:00
Referenced by commit cf9ea111bf, macOS: remove deprecated touch event API call
Referenced by issue #70252, BL 2.81 Instant crash OSX 10.11.6
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa(GHOST_SystemCocoa *systemCocoa,
[m_window setAcceptsMouseMovedEvents:YES];
NSView *contentview = [m_window contentView];
[contentview setAllowedTouchTypes:(NSTouchTypeMaskDirect | NSTouchTypeMaskIndirect)];
[contentview setAcceptsTouchEvents:YES];
[m_window registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType,
NSStringPboardType,