Transform:

Camera grab from camera mode works, but not the middlemouse-toggle, that
has to become a new "Dolly" constraint coded by Martin P! :)
This commit is contained in:
2005-03-13 19:48:17 +00:00
parent 8c564af147
commit e76a63635b
2 changed files with 20 additions and 1 deletions

View File

@@ -1305,7 +1305,12 @@ void Transform(int mode)
break;
case MIDDLEMOUSE:
initSelectConstraint(&Trans);
/* exception for switching to dolly, in camera view */
if( (Trans.flag & T_OBJECT) && G.vd->camera==OBACT && G.vd->persp>1) {
// setLocalConstraint(&Trans, (CON_AXIS2), "along local Z");
}
else
initSelectConstraint(&Trans);
Trans.redraw = 1;
break;
case ESCKEY: