Fix 'Automatic Constraint' appearing in statusbar although not supported
This commit is contained in:
@@ -601,6 +601,7 @@ static bool transform_modal_item_poll(const wmOperator *op, int value)
|
|||||||
case TFM_MODAL_PLANE_X:
|
case TFM_MODAL_PLANE_X:
|
||||||
case TFM_MODAL_PLANE_Y:
|
case TFM_MODAL_PLANE_Y:
|
||||||
case TFM_MODAL_PLANE_Z:
|
case TFM_MODAL_PLANE_Z:
|
||||||
|
case TFM_MODAL_AUTOCONSTRAINT:
|
||||||
case TFM_MODAL_AUTOCONSTRAINTPLANE: {
|
case TFM_MODAL_AUTOCONSTRAINTPLANE: {
|
||||||
if (t->flag & T_NO_CONSTRAINT) {
|
if (t->flag & T_NO_CONSTRAINT) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user