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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user