Files
test/source/blender/draw
Falk David 9e82331ae6 Fix #130368: GPv3: Canvas overlay incorrect offset
The issue was that if the evaluated object doesn't have an active
layer, the canvas is offset by twice the objects position.

The reason was that the code scaled the whole transformation
matrix by two to match the code in 4.2, but then had to overwrite
the location of the transformation again to counteract the scaling.

The fix is to not counteract the scaling and just scale the 3x3 part
of the matrix instead. This way we can remove the part afterwards
that writes to the location of the transform.

Pull Request: https://projects.blender.org/blender/blender/pulls/130454
2024-11-18 16:24:34 +01:00
..
2024-08-23 16:11:28 +02:00