diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-11-14 15:50:10 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-11-14 15:50:21 +0300 |
commit | fcadf47a917988527641a49f30ceb90c9f0f8bb7 (patch) | |
tree | 6d9dd758f121337f93bd96ff2c5848ad90bfd707 /release/scripts/startup/bl_ui/space_image.py | |
parent | 08974c22e45720bfdc6bba18502175cd3100511f (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index bdb0ca7aa15..1e3a7433e25 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -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() |