Fix T42561 (semi feature request/comeback) UVs in image editor can get

too crowded.

UVs in the same layer can be used for many images. It used to be
possible to filter UV faces based on the image, but this is impossible
now due to the way the system works, so I added an option to allow
filtering UVs based on active material index.

Rationale on using option and not being smart here (options are bad tm)
is that for some workflows, such as preserving image space by using the
same image for many materials, people might want to turn this off.
This commit is contained in:
Antony Riakiotakis
2014-11-14 13:50:10 +01:00
parent 08974c22e4
commit fcadf47a91
6 changed files with 21 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ class IMAGE_MT_view(Menu):
layout.prop(uv, "show_other_objects")
if paint.brush and (context.image_paint_object or sima.mode == 'PAINT'):
layout.prop(uv, "show_texpaint")
layout.prop(uv, "texpaint_filter_mat")
layout.separator()