Skip to content
Commit ac257511 authored by Halla Rempt's avatar Halla Rempt
Browse files

BUG:375253 Work around a bug in QTransform

Weirdly enough, this bug only occurs on Windows 10 with the latest
Wacom drivers and an older Wacom Intuos 3 or Cintiq tablet. At least,
that's what we suspect. Somehow the input from this drivers drives
the roation sensor crazy, and set rotation to NaN.

So, first step: check whether the resulting rect is valid, we now return
a 0,0 1x1 rect.

Second step: check whether the rotation value happens to be NaN and
return 0 in that case.

Third step: make sure that the rotationLikeValue() function doesn't return
NaN -- that is in the next commit.
parent 30441fda
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment