Fix 'Automatic Constraint' appearing in statusbar although not supported

This commit is contained in:
Germano Cavalcante 2023-10-03 11:10:22 -03:00
parent 30aaf3b086
commit 586ffcd669
1 changed files with 1 additions and 0 deletions

View File

@ -601,6 +601,7 @@ static bool transform_modal_item_poll(const wmOperator *op, int value)
case TFM_MODAL_PLANE_X:
case TFM_MODAL_PLANE_Y:
case TFM_MODAL_PLANE_Z:
case TFM_MODAL_AUTOCONSTRAINT:
case TFM_MODAL_AUTOCONSTRAINTPLANE: {
if (t->flag & T_NO_CONSTRAINT) {
return false;