Fix T77476: Transform Align mode using View orientation by default
This commit is contained in:
parent
334e5005f4
commit
27fb75fec2
Notes:
blender-bot
2023-02-14 09:24:53 +01:00
Referenced by issue #77476, Align mode not working properly or at least not as used to work
|
@ -550,7 +550,8 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
|
|||
orient_types[2] = orient_type_scene;
|
||||
}
|
||||
else {
|
||||
if ((t->flag & T_MODAL) && (use_orient_axis || transform_mode_is_changeable(t->mode))) {
|
||||
if ((t->flag & T_MODAL) && (use_orient_axis || transform_mode_is_changeable(t->mode)) &&
|
||||
(t->mode != TFM_ALIGN)) {
|
||||
orient_types[0] = V3D_ORIENT_VIEW;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue