Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2021-01-30 18:27:08 +0300
committerPablo Dobarro <pablodp606@gmail.com>2021-02-03 23:05:48 +0300
commitebd2aa789e409258cb96e30c9c42dcdea360924f (patch)
tree46fca8c959856eec51fd654884b904d4f7213abb
parent0f238c5bcb190d5297830ed188f570fde0eb49ca (diff)
Fix T85230: Face Set Boundary automasking not working with dyntopo
Dyntopo does not have Face Sets implemented yet, so the entire mesh is considered a single Face Set. In that case, the check unique face set function should always return true. Reviewed By: JacquesLucke Maniphest Tasks: T85230 Differential Revision: https://developer.blender.org/D10259
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 4d6330e03f8..410b83217b4 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -678,7 +678,7 @@ bool SCULPT_vertex_has_unique_face_set(SculptSession *ss, int index)
return sculpt_check_unique_face_set_in_base_mesh(ss, index);
}
case PBVH_BMESH:
- return false;
+ return true;
case PBVH_GRIDS: {
const CCGKey *key = BKE_pbvh_get_grid_key(ss->pbvh);
const int grid_index = index / key->grid_area;