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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user