Fix T72905: EEVEE + UV Edit Unused Map
There is a cornercase when the user edits an uvmap, that is not part of the material (yet). When this is the case the uvmap was not added to the uv buffer and the 'pos' alias was not created. This change will always request the active uv map when uv editing. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6534
This commit is contained in:
parent
9b3c9ab61a
commit
4aca02064f
Notes:
blender-bot
2023-02-14 04:31:04 +01:00
Referenced by issue #72905, Second UV set won't Display in UV Editor if in Look Dev Display Mode
|
@ -930,6 +930,7 @@ static void edituv_request_active_uv(MeshBatchCache *cache, Mesh *me)
|
|||
{
|
||||
DRW_MeshCDMask cd_needed;
|
||||
mesh_cd_layers_type_clear(&cd_needed);
|
||||
mesh_cd_calc_active_uv_layer(me, &cd_needed);
|
||||
mesh_cd_calc_edit_uv_layer(me, &cd_needed);
|
||||
|
||||
BLI_assert(cd_needed.edit_uv != 0 &&
|
||||
|
|
Loading…
Reference in New Issue