Commit: f12589d335d49f537b47403e7c7a4136b6a1f472 Author: Pablo Dobarro Date: Tue Apr 7 13:12:12 2020 +0200 Branches: master https://developer.blender.org/rBf12589d335d49f537b47403e7c7a4136b6a1f472
Fix automasking using the wrong active face set All tools should now use the API function to get the active face set directly from the face under the cursor. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7362 =================================================================== M source/blender/editors/sculpt_paint/sculpt_automasking.c =================================================================== diff --git a/source/blender/editors/sculpt_paint/sculpt_automasking.c b/source/blender/editors/sculpt_paint/sculpt_automasking.c index 68fa7ac01ae..3ccf59ba3bb 100644 --- a/source/blender/editors/sculpt_paint/sculpt_automasking.c +++ b/source/blender/editors/sculpt_paint/sculpt_automasking.c @@ -192,7 +192,7 @@ static float *sculpt_face_sets_automasking_init(Sculpt *sd, Object *ob, float *a } int tot_vert = SCULPT_vertex_count_get(ss); - int active_face_set = SCULPT_vertex_face_set_get(ss, SCULPT_active_vertex_get(ss)); + int active_face_set = SCULPT_active_face_set_get(ss); for (int i = 0; i < tot_vert; i++) { if (!SCULPT_vertex_has_face_set(ss, i, active_face_set)) { automask_factor[i] *= 0.0f; _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
