Sculpt: fix change in accumulate setting now

applying until next stroke.
This commit is contained in:
Joseph Eagar 2021-09-29 01:19:50 -07:00
parent 1820ca6e34
commit a38654594d
1 changed files with 1 additions and 1 deletions

View File

@ -10494,7 +10494,7 @@ static void sculpt_update_cache_invariants(
}
if (SCULPT_TOOL_HAS_ACCUMULATE(brush->sculpt_tool)) {
if (!(brush->flag & BRUSH_ACCUMULATE)) {
if (!(BRUSHSET_GET_INT(brush->channels, accumulate, &ss->cache->input_mapping))) {
cache->original = true;
if (brush->sculpt_tool == SCULPT_TOOL_DRAW_SHARP) {
cache->original = false;