[Bf-blender-cvs] [91fb07f3611] master: Fix mesh filter using the wrong face set as active
Pablo Dobarro
noreply at git.blender.org
Mon Jun 1 22:19:24 CEST 2020
Commit: 91fb07f3611cfeadd1f0eb0cb0bb8c439bd8dc5e
Author: Pablo Dobarro
Date: Thu May 28 00:53:18 2020 +0200
Branches: master
https://developer.blender.org/rB91fb07f3611cfeadd1f0eb0cb0bb8c439bd8dc5e
Fix mesh filter using the wrong face set as active
This was returning the wrong face set in cases where the active vertex
has more than one available face set.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D7858
===================================================================
M source/blender/editors/sculpt_paint/sculpt_filter_mesh.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c b/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c
index 7c438e9245b..fc3e130cc98 100644
--- a/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c
+++ b/source/blender/editors/sculpt_paint/sculpt_filter_mesh.c
@@ -565,8 +565,7 @@ static int sculpt_mesh_filter_invoke(bContext *C, wmOperator *op, const wmEvent
SCULPT_filter_cache_init(ob, sd);
if (use_face_sets) {
- ss->filter_cache->active_face_set = SCULPT_vertex_face_set_get(ss,
- SCULPT_active_vertex_get(ss));
+ ss->filter_cache->active_face_set = SCULPT_active_face_set_get(ss);
}
else {
ss->filter_cache->active_face_set = SCULPT_FACE_SET_NONE;
More information about the Bf-blender-cvs
mailing list