== Align ==

Use pupmenu menu to select align orientation. Faster workflow than always having to change the current transform orientation beforehand.
This commit is contained in:
2008-03-16 16:00:00 +00:00
parent 26daad49a3
commit 6a2e538d98
7 changed files with 26 additions and 12 deletions

View File

@@ -1856,6 +1856,22 @@ void snapmenu()
}
}
void alignmenu()
{
short val;
char *str_menu = BIF_menustringTransformOrientation("Align");
val= pupmenu(str_menu);
MEM_freeN(str_menu);
if (val >= 0)
{
short old_val = G.vd->twmode;
G.vd->twmode = val;
initTransform(TFM_ALIGN, CTX_NO_PET|CTX_AUTOCONFIRM);
Transform();
G.vd->twmode = old_val;
}
}
#define MERGELIMIT 0.001
void mergemenu(void)