WIP: Fix #116458: Added decay factor for flattening brushes. #118699

Draft
Raul Fernandez Hernandez wants to merge 87 commits from farsthary/blender:Fix-#116458-Sculpt-Clay-strip-sculpts-on-back-face-when-front-face-only-is-turned-on into blender-v4.1-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 7 additions and 0 deletions
Showing only changes of commit 0ba0a0963f - Show all commits

View File

@ -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;