WIP: Fix #116458: Added decay factor for flattening brushes. #118699
|
@ -712,6 +712,13 @@ static bool transform_modal_item_poll(const wmOperator *op, int value)
|
|||
break;
|
||||
}
|
||||
case TFM_MODAL_PASSTHROUGH_NAVIGATE:
|
||||
if (ELEM(t->mode, TFM_EDGE_SLIDE, TFM_VERT_SLIDE)) {
|
||||
/* Returning `false` will not prevent the navigation from working, it will just not display
|
||||
* the shortcut in the header.
|
||||
* Return `false` here to prevent this modal item from affecting the state with
|
||||
* #T_ALT_TRANSFORM used by the Edge and Vert Slide operators. */
|
||||
return false;
|
||||
}
|
||||
return t->vod != nullptr;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue