409a21b32e
Merge branch 'blender2.7'
2019-01-28 12:05:51 +01:00
801901a652
Fix T57069: macOS window contents scaling bug.
...
The cause of this is unclear, but delaying querying the native pixel size
appears to help in the one case I could reproduce.
2019-01-28 12:01:29 +01:00
c0f88ed8a8
Cleanup: sort forward declarations of enum & struct
...
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
2019-01-28 21:17:58 +11:00
4b8b7c821d
Cleanup: sort cmake file lists
2019-01-25 08:49:51 +11:00
2218bf02dd
Cleanup: sort cmake file lists
2019-01-25 08:30:33 +11:00
165caafb99
Revert fix for T48901: Use of XIWarpPointer
...
Xorg's XIWarpPointer doesn't support multi-head display while
XWarpPointer does.
Revert since this is a known TODO in Xorg and setting a custom
xinput matrix seems not to be used often.
Resolves T50383
2019-01-15 16:49:44 +11:00
9461af299c
Revert fix for T48901: Use of XIWarpPointer
...
Xorg's XIWarpPointer doesn't support multi-head display while
XWarpPointer does.
Revert since this is a known TODO in Xorg and setting a custom
xinput matrix seems not to be used often.
Resolves T50383
2019-01-15 16:44:08 +11:00
Christopher Peerman
4693207918
Windows: add support for Windows Ink.
...
Before this Blender always needed the Wintab driver. This adds support for the
native pressure API in Windows 8+, making it possible to get pressure sensitivity
on e.g. Microsoft Surface hardware without any extra drivers.
By default Blender will automatically use Wintab if available, and if not use
Windows Ink instead. There is also a new user preference to explicitly specify
which API to use if automatic detection fails.
Fixes T57869: no pressure sensitivity with Surface pen or laptop.
Code by Christopher Peerman with some tweaks by Brecht Van Lommel.
Differential Revision: https://developer.blender.org/D4165
2019-01-14 20:48:11 +01:00
eaf282b375
Cleanup: refactor GHOST wintab handling.
2019-01-14 20:48:07 +01:00
7707bf203c
Merge branch 'blender2.7'
2019-01-14 12:43:34 +01:00
Christopher Peerman
19fba61d46
Fix T55589: drawing strokes with Microsoft surface pen misses first part.
...
This disables touch gesture recognition in Blender, avoiding any initial delay
when drawing with grease pencil, texture paint, etc.
Differential Revision: https://developer.blender.org/D4203
2019-01-14 12:25:42 +01:00
5100e4419e
Cleanup: ensure header guards come first
...
Causes clang-format not to detect header guards,
indenting all preprocessor lines in the header.
2019-01-10 09:04:44 +11:00
5681631109
Cleanup: ensure header guards come first
...
Causes clang-format not to detect header guards,
indenting all preprocessor lines in the header.
2019-01-10 08:46:38 +11:00
aa175e0033
Fix for T58250 fix: Blender failing to start with OpenGL context < 4.5.
2019-01-03 18:31:32 +01:00
3c411f5ba1
Fix T58250: crash starting Blender on X11 without OpenGL 3.3.
...
Instead display an error message and exit.
2019-01-03 16:43:09 +01:00
7bed048243
X11: support multiple tablet devices.
...
Previously we would try to guess what the main tablet device is, but this is
error prone. Now we keep a list of X11 devices and try to match events to
them. On the Blender side there are still some limitations in regards to using
multiple devices at the same time, but this should improve things already.
Fixes T59645.
2018-12-27 16:44:19 +01:00
53a6a0b258
X11: support multiple tablet devices.
...
Previously we would try to guess what the main tablet device is, but this is
error prone. Now we keep a list of X11 devices and try to match events to
them. On the Blender side there are still some limitations in regards to using
multiple devices at the same time, but this should improve things already.
Fixes T59645.
2018-12-27 16:18:37 +01:00
8c4ae8961c
Fix T59564: Huion pen pressure not working on Linux, after recent changes.
2018-12-18 15:07:04 +01:00
5584cad5d9
GHOST: WGL: Silence Errors when testing opengl context versions
2018-12-05 21:57:49 +01:00
fb3f1a3567
Merge branch 'master' into blender2.8
2018-12-05 14:41:00 +01:00
c9344d6c5b
Fix T58776, T58030: pressure sensitivity on Linux not working for some tablets.
2018-12-05 14:02:37 +01:00
5c3955452b
Merge branch 'master' into blender2.8
2018-12-04 19:48:21 +01:00
Niels
8908670623
Fix T58466: bug in macOS GHOST_GetSwapInterval.
...
No user level changes since this function is not used in active code.
2018-12-04 18:44:42 +01:00
0f5b53ba4d
Revert "Win32: Use the nicer looking blender-drawn confirmation message box when"
...
This reverts commit 60d6eb0b5d .
There is already a full patch (D3118) by brecht for this, will leave it up to him.
2018-11-30 23:29:32 +01:00
60d6eb0b5d
Win32: Use the nicer looking blender-drawn confirmation message box when
...
quitting with unsaved changes, instead of an ugly messagebox
2018-11-30 21:11:59 +01:00
a2e209f20a
Merge branch 'master' into blender2.8
2018-11-24 23:44:17 +01:00
7c19d9e9af
Fix X11 tablet pen and eraser distinction being wrong in some cases.
...
This extends the earlier fix to use the latest logic from Wine's wintab.c,
to better handle eraser detection.
2018-11-24 23:24:32 +01:00
059c119719
Merge branch 'master' into blender2.8
2018-11-25 08:01:53 +11:00
e5bc9fae54
Fix penpressure for tablets that use libinput on linux
2018-11-24 18:26:20 +01:00
55e719ec35
Merge branch 'master' into blender2.8
2018-11-14 17:21:34 +11:00
d7f55c4ff5
Cleanup: comment block tabs
2018-11-14 17:10:56 +11:00
793d5cb7fd
Merge branch 'master' into blender2.8
2018-10-09 10:41:13 +11:00
76f640c27d
Cleanup: spelling
2018-10-09 09:29:14 +11:00
786870e26f
Fix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.
...
This does not affect existing releases as far as I can tell, only new builds
using the new SDK have the problem.
2018-10-01 08:35:32 +02:00
0722981e99
Fix T56909: wrong interface scale on macOS 10.14, when using 10.14 SDK.
...
This does not affect existing releases as far as I can tell, only new builds
using the new SDK have the problem.
2018-09-30 19:33:41 +02:00
4de1e673a4
Merge branch 'master' into blender2.8
2018-09-27 14:51:33 +02:00
2a63e062b0
Tests: add --no-window-focus to open window without focus.
...
This is useful to run OpenGL tests while continuing to do other tasks
without windows constantly popping up in the foreground.
2018-09-27 12:21:48 +02:00
0ddf3e110e
Cleanup: comment blocks
2018-09-02 18:51:31 +10:00
ae57383648
Cleanup: comment blocks
2018-09-02 18:28:27 +10:00
3f2090f401
Merge branch 'master' into blender2.8
2018-08-31 13:00:19 +02:00
9492522db5
Fix T56618: crash when typing certain characters on Linux.
2018-08-31 12:43:39 +02:00
871b7ba892
Merge branch 'master' into blender2.8
2018-08-28 19:15:08 +02:00
Colby Klein
31c99c0c4e
Fix pen tablet stuck on Windows for some non-Wacom tablets.
...
Differential Revision: https://developer.blender.org/D3573
2018-08-26 23:19:31 +02:00
4fcca6a0ab
GHOST: Make win32 errors more readable on some drivers
2018-08-14 21:38:13 +02:00
e4b68befa2
Merge branch 'master' into blender2.8
2018-08-08 17:56:56 +10:00
697d4b227e
Ghost/X11: correct function signature
2018-08-08 17:54:41 +10:00
6fbd210b91
Merge branch 'master' into blender2.8
2018-08-08 11:05:08 +10:00
931a279f44
Cleanup: use static variables
2018-08-08 11:00:57 +10:00
95e490889d
macOS GHOST: use non-deprecated functions for coordinates
2018-08-07 21:53:02 +03:00
030297209f
Fix T54799: NDOF events not dispatched on windows.
...
Caused by commit rB785e8a636a29
2018-08-07 11:41:55 -03:00