ASSERT: "divisor < 0 || divisor > 0" in file /d/qt/6/inst/include/QtCore/qpoint.h, line 266
The plane transformation matrix ended up with a -inf value,
so plane->translate(QPointF(lastPoint.key + offset, lastPoint.value)))
leads to NAN even if lastPoint.value is valid.
Fixed by replacing the ISNAN test on lastPoint.value with a test on
a and b, i.e. the final coordinates.
ASSERT: "divisor < 0 || divisor > 0" in file /d/qt/6/inst/include/QtCore/qpoint.h, line 266
The plane transformation matrix ended up with a -inf value, so plane->translate(QPointF(lastPoint.key + offset, lastPoint.value))) leads to NAN even if lastPoint.value is valid.
Fixed by replacing the ISNAN test on lastPoint.value with a test on
a
andb
, i.e. the final coordinates.