Unwrap menu (ukey) only in MESH edit mode, not all edit mode.

This commit is contained in:
Martin Poirier
2007-10-23 19:57:41 +00:00
parent 8b5de20512
commit 7fc1297b3c

View File

@@ -2398,7 +2398,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
}
}*/
if(G.obedit) {
if(G.qual==0) {
if(G.obedit->type==OB_MESH && G.qual==0) {
uv_autocalc_tface();
}
}