Another Transform todo: correct Undo names for using Transform.

Martin; I've added calls like:
	BIF_TransformSetUndo("Add Duplicate");
In advance of calling transform itself, to indicate that this is the
string name to be used for Undo, and also has to be done on ESC.
To make that possible I had to add a memset() to zero the global struct
TransInfo. Nicely done with if(Trans.mode==TRANS_INIT)

Not sure how this relates to setting constraints in advance... I always
found it tricky to work a non-initalized global struct. :)
This commit is contained in:
2005-05-08 12:00:28 +00:00
parent 744bb6f19a
commit eec4e32714
9 changed files with 71 additions and 13 deletions

View File

@@ -580,6 +580,7 @@ void extrude_mesh(void)
countall();
/* individual faces? */
BIF_TransformSetUndo("Extrude");
if(nr==2) {
Transform(TFM_SHRINKFATTEN, CTX_NO_PET|CTX_NO_NOR_RECALC);
}