Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-01-16 18:55:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-01-16 18:55:31 +0300
commit09122883b2a198351e4234546230cd03f6d89718 (patch)
treed3253f570501257e4a44241e0932bbf04d5e8adc /intern
parentd52551401e185a3e1092fb07edebd07d552e04e2 (diff)
parentabdaf2a4f509f79bf2f0eb231341858045957573 (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemX11.cpp2
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) {