Fix #112817: Draw Face Sets not working #112824

Closed
Omar-Mokhtar wants to merge 2 commits from Omar-Mokhtar/blender:fix-112817 into main

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

View File

@ -1607,6 +1607,13 @@ static void sculpt_expand_finish(bContext *C)
break;
}
/* Resetting the fully masked and unmasked flag after this operation so that
drawing faces with a stroke works again */
for (PBVHNode *node : nodes) {
BKE_pbvh_node_fully_masked_set(node, false);
BKE_pbvh_node_fully_unmasked_set(node, false);
}
sculpt_expand_cache_free(ss);
ED_workspace_status_text(C, nullptr);
}