Skip to content

Use correct coordinate spaces when painting MetaShapedTexture

Quoting the important commit message:

    shaped-texture: Transform clip and opaque region to texture space
    
    The clip and opaque region are both in a translated stage coordinate
    space, where the origin is in the top left corner of the painted
    texture. The painting, however, is in the texture coordinate space,
    so when the texture is scaled, they coordinate spaces differ.
    
    Handle this by transforming the clip and opaque region to texture
    coordinate space before computing the blend region and the opaque region
    to paint.

Merge request reports