diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-03-03 04:44:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-03-03 04:44:35 +0300 |
commit | 5b54b519c0719f0598532e80a3ffe671c90e04cd (patch) | |
tree | 251f7a0ac0ba0018aec71b1453e43f09a752af36 /source/blender/src/space.c | |
parent | 2d02b0d3636daa485752e6866aba1c63ed66b463 (diff) |
Added a feature to the UV editor- Average UV islands, this averages selected UV islands, in proportion to the faces area in 3d space.
Renamed 'Pack Charts' to 'Pack Islands' (according to google, uv islands is a more common term)
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r-- | source/blender/src/space.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 0e0a52b6521..949dc73a98c 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -5190,7 +5190,11 @@ static void winqreadimagespace(ScrArea *sa, void *spacedata, BWinEvent *evt) mouse_select_sima(); break; case AKEY: - select_swap_tface_uv(); + if(G.qual==0) { + select_swap_tface_uv(); + } else if(G.qual==LR_CTRLKEY) { + average_charts_tface_uv(); + } break; case BKEY: if(G.qual==LR_SHIFTKEY) |