diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-21 16:02:11 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-21 17:01:06 +0300 |
commit | de7d32bb7dcc7364a07fe23ab0205c70d1db06e4 (patch) | |
tree | c3817b3e4ee28391ab42f3448c73ee70edd17790 /source/blender/editors/transform | |
parent | 2fe615ab9f06647e9af0644b74eb46a50fb0bd0a (diff) |
Fix T76933: 'Align to Transform Orientation' crashes for Custom orientations
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_generics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index a33186cd9d3..36dc01fc9c6 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -1679,7 +1679,7 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve } else { custom_orientation = BKE_scene_transform_orientation_find( - t->scene, orient_type_default - V3D_ORIENT_CUSTOM); + t->scene, orient_type_set - V3D_ORIENT_CUSTOM); } } |