diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-01-16 18:55:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-01-16 18:55:31 +0300 |
commit | 09122883b2a198351e4234546230cd03f6d89718 (patch) | |
tree | d3253f570501257e4a44241e0932bbf04d5e8adc /intern | |
parent | d52551401e185a3e1092fb07edebd07d552e04e2 (diff) | |
parent | abdaf2a4f509f79bf2f0eb231341858045957573 (diff) |
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemX11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp index 24a577a18c4..c50ff8e7426 100644 --- a/intern/ghost/intern/GHOST_SystemX11.cpp +++ b/intern/ghost/intern/GHOST_SystemX11.cpp @@ -2533,7 +2533,7 @@ void GHOST_SystemX11::refreshXInputDevices() XAnyClassPtr ici = device_info[i].inputclassinfo; if (ici != NULL) { - for (int j = 0; j < xtablet.Device->num_classes; ++j) { + for (int j = 0; j < device_info[i].num_classes; ++j) { if (ici->c_class == ValuatorClass) { XValuatorInfo *xvi = (XValuatorInfo *)ici; if (xvi->axes != NULL) { |