Fix T88478: Fallback to dolly not working when moving the camera in camera view
This fallback is an old hack. It is difficult to have an orientation convention when several random factors determine which one should be used. In this case, to "fix" the problem, a new behavior had to be implemented. Now the redo when moving the camera in `Camera View` has the default orientation as `View`.
This commit is contained in:
@@ -471,6 +471,7 @@ void initTranslation(TransInfo *t)
|
||||
t->num.unit_type[2] = B_UNIT_NONE;
|
||||
}
|
||||
|
||||
transform_mode_default_modal_orientation_set(t, V3D_ORIENT_GLOBAL);
|
||||
transform_mode_default_modal_orientation_set(
|
||||
t, (t->options & CTX_CAMERA) ? V3D_ORIENT_VIEW : V3D_ORIENT_GLOBAL);
|
||||
}
|
||||
/** \} */
|
||||
|
||||
Reference in New Issue
Block a user