Blender Git Loki

Git Commits -> Revision f11bcb5

Revision f11bcb5 by Philipp Oeser (master)
September 23, 2021, 14:56 (GMT)
Fix T91557: Texture Paint Stencil doesnt use assigned UV Layer

Choosing a UV layer would actually affect the overlay in the viewport
and also painting with the mask brush was in that UV space, but the
resulting stencil mask was always applied with the active UV (not the
explicitly selected stencil UV -- the one one is looking at in the
viewport!) to painting.

This has been like that as far as I have checked back (at least 2.79b),
I am surprised this has not come up before, but it does not seem to make
sense at all...

Now use the UV specified for the stencil layer when applying the mask for
painting, so it corresponds to the stencil mask one is looking at in the
viewport.

Maniphest Tasks: T91557

Differential Revision: https://developer.blender.org/D12583

Commit Details:

Full Hash: f11bcb5a80eb106560678c8c60be32ad997d6641
Parent Commit: 490425d
Lines Changed: +3, -1

1 Modified Path:

/source/blender/editors/sculpt_paint/paint_image_proj.c (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021