Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2020-12-04 18:30:52 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2020-12-04 18:31:30 +0300
commitd07009498ac36d067fbccd61cfbcd51d4e2ba310 (patch)
treedf0a92db1295ee0069b8ec461861ce9789ad0162
parentb9195116075420b09969eacd4ba91c4cce7b7b5c (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.
-rw-r--r--source/blender/editors/transform/transform.c3
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;
}