Added "Pack Charts" function in the UV editor, using Campbell's new box

packing code.
This commit is contained in:
2007-03-22 20:32:20 +00:00
parent 8aafed560a
commit 5219812f55
5 changed files with 31 additions and 3 deletions

View File

@@ -4745,7 +4745,9 @@ static void winqreadimagespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
break;
case PKEY:
if(G.f & G_FACESELECT) {
if(G.qual==LR_SHIFTKEY)
if(G.qual==LR_CTRLKEY)
pack_charts_tface_uv();
else if(G.qual==LR_SHIFTKEY)
select_pinned_tface_uv();
else if(G.qual==LR_ALTKEY)
pin_tface_uv(0);