diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-12-04 18:30:52 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-12-04 18:31:30 +0300 |
commit | d07009498ac36d067fbccd61cfbcd51d4e2ba310 (patch) | |
tree | df0a92db1295ee0069b8ec461861ce9789ad0162 /source | |
parent | b9195116075420b09969eacd4ba91c4cce7b7b5c (diff) |
Transform: Don't use Automatic Constraint Plane in 2D editors
Technically it shouldn't have any effect on these editors.
The key tips in the header can be misleading.
The effect it previously had was not intended.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 2004e3b052d..5969de5b5da 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -599,7 +599,8 @@ static bool transform_modal_item_poll(const wmOperator *op, int value) case TFM_MODAL_AXIS_Z: case TFM_MODAL_PLANE_X: case TFM_MODAL_PLANE_Y: - case TFM_MODAL_PLANE_Z: { + case TFM_MODAL_PLANE_Z: + case TFM_MODAL_AUTOCONSTRAINTPLANE: { if (t->flag & T_NO_CONSTRAINT) { return false; } |