Page MenuHome

Fix T81247: Constrain selected UVs to correct UDIM
AbandonedPublic

Authored by Pablo Dobarro (pablodp606) on May 13 2021, 2:15 AM.

Details

Summary

With Constrain to Image Bounds selected, UVs will be constrained to the
correct/closest UDIM if the image is tiled.
UVs will be constrained to the 0-1 UV space if the image is not tiled.
This will override the present behavior of always constraining selected
UVs to the 0-1 UV space (UDIM 1001).

Fix T87851 EEVEE: Performance regression with baked lighting & transparency

This was caused by the drivers not optimizing the shader enough to remove
the samplers and data used by closure eval. Removing the lighting loops
from the depth shader fixes the perf regression.

Fix T88230: Properly handle Face Set visibility in Expand Face Sets editing

Expand is not expected to update the visibility state of the PBVH, only
the Face Sets IDs. If visibility updates are made accidentally, PBVH
rendering breaks.

In order for this to work properly, the following fixes are needed:

  • Expand should always check for active component before attempting to

modify a Face Set ID

  • Expand should always check the visibility state on original_face_sets,

as it is the array that contains the visiblilty state that corresponds
with the current state used for PBVH rendering. This implies that after
any modification done by Expand, the visibility state of ss->face_sets
and expand_cache->original_face_sets should match (like in any other
tool that does not modify visibility).

  • Expand should never modify the Face Set ID of a poly that is hidden in

expand_cache->original_face_sets.

  • When deleting an ID, hidden Face Sets should be skipped when picking

IDs for content filling. This avoids introducing hidden IDs back into
the visible geometry even after updating its visibility state.

Diff Detail

Repository
rB Blender
Branch
T88230 (branched from master)
Build Status
Buildable 14542
Build 14542: arc lint + arc unit

Event Timeline

Pablo Dobarro (pablodp606) requested review of this revision.May 13 2021, 2:15 AM
Pablo Dobarro (pablodp606) created this revision.