Commit: db338672707c32ad8fd4c85e4190bd2bc626a207 Author: Brecht Van Lommel Date: Thu Jan 16 16:03:11 2020 +0100 Branches: blender-v2.82-release https://developer.blender.org/rBdb338672707c32ad8fd4c85e4190bd2bc626a207
Fix T71952, T70125: Blender Linux crash on startup with some tablets It's not certain this fixes the issue since I can't reproduce the crash, but the code was wrong in any case. Thanks to Ray Molenkamp and Anonymous for finding this. =================================================================== M intern/ghost/intern/GHOST_SystemX11.cpp =================================================================== 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) { _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs