Merge branch 'blender-v4.5-release'
This commit is contained in:
@@ -634,7 +634,7 @@ class MeshUVs : Overlay {
|
||||
/* Wireframe UV Overlay. */
|
||||
const bool show_wireframe_uv_edit = space_image->flag & SI_DRAWSHADOW;
|
||||
const bool show_wireframe_uv_guide = !(space_image->flag & SI_NO_DRAW_UV_GUIDE) &&
|
||||
space_mode_is_paint;
|
||||
(space_mode_is_paint || space_mode_is_uv);
|
||||
|
||||
if (space_mode_is_uv && object_mode_is_edit) {
|
||||
show_wireframe_ = show_wireframe_uv_edit;
|
||||
|
||||
@@ -411,7 +411,9 @@ static void image_listener(const wmSpaceTypeListenerParams *params)
|
||||
}
|
||||
}
|
||||
else if (ob) {
|
||||
if (sima->lock && !(sima->flag & SI_NO_DRAW_UV_GUIDE) && sima->mode == SI_MODE_PAINT) {
|
||||
if (sima->lock && !(sima->flag & SI_NO_DRAW_UV_GUIDE) &&
|
||||
ELEM(sima->mode, SI_MODE_PAINT, SI_MODE_UV))
|
||||
{
|
||||
ED_area_tag_refresh(area);
|
||||
ED_area_tag_redraw(area);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user