Fix T100926: Show UV outline in texture paint mode
After rB716ea1547989 the UV overlay is no longer displayed in the UV Editor. It only appears for the Image Editor. So restore the previous behavior, displaying the "UV shadow" overlay in the UV editor as well. Reviewed By: Jeroen Bakker, Germano Cavalcante Maniphest Tasks: T92614, T100926 Differential Revision: https://developer.blender.org/D16490
This commit is contained in:
parent
c0df88f3b5
commit
4401c93e45
|
@ -139,6 +139,8 @@ void OVERLAY_edit_uv_init(OVERLAY_Data *vedata)
|
|||
((is_paint_mode && do_tex_paint_shadows &&
|
||||
((draw_ctx->object_mode &
|
||||
(OB_MODE_TEXTURE_PAINT | OB_MODE_EDIT)) != 0)) ||
|
||||
(is_uv_editor && do_tex_paint_shadows &&
|
||||
((draw_ctx->object_mode & (OB_MODE_TEXTURE_PAINT)) != 0)) ||
|
||||
(is_view_mode && do_tex_paint_shadows &&
|
||||
((draw_ctx->object_mode & (OB_MODE_TEXTURE_PAINT)) != 0)) ||
|
||||
(do_uv_overlay && (show_modified_uvs)));
|
||||
|
|
Loading…
Reference in New Issue