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