Transform:

As discussed during meeting, made double key press go for Local when Global was selected.

Two lines of code! ;)
This commit is contained in:
2005-11-20 16:01:56 +00:00
parent 874c7d7831
commit 9ef8c198b2

View File

@@ -513,10 +513,12 @@ void setUserConstraint(TransInfo *t, int mode, const char ftext[]) {
switch(twmode) {
case V3D_MANIP_GLOBAL:
/*
sprintf(text, ftext, "global");
Mat3One(mtx);
setConstraint(t, mtx, mode, text);
break;
*/
case V3D_MANIP_LOCAL:
sprintf(text, ftext, "local");
setLocalConstraint(t, mode, text);