Fix T42561 (semi feature request/comeback) UVs in image editor can get
authorAntony Riakiotakis <kalast@gmail.com>
Fri, 14 Nov 2014 12:50:10 +0000 (13:50 +0100)
committerAntony Riakiotakis <kalast@gmail.com>
Fri, 14 Nov 2014 12:50:21 +0000 (13:50 +0100)
commitfcadf47a917988527641a49f30ceb90c9f0f8bb7
tree6d9dd758f121337f93bd96ff2c5848ad90bfd707
parent08974c22e45720bfdc6bba18502175cd3100511f
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.
release/scripts/startup/bl_ui/space_image.py
source/blender/editors/space_image/space_image.c
source/blender/editors/uvedit/uvedit_draw.c
source/blender/makesdna/DNA_space_types.h
source/blender/makesrna/intern/rna_object.c
source/blender/makesrna/intern/rna_space.c