Fix T70252: Reverting to macOS 10.11 compatible API.
This commit is contained in:
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
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue