Commit: db1d7114581381e68d00cb173d093216c61d7ec6 Author: Pablo Dobarro Date: Fri Mar 6 16:44:17 2020 +0100 Branches: master https://developer.blender.org/rBdb1d7114581381e68d00cb173d093216c61d7ec6
Fix T74501: Wrong initial iteration when using mask expand The initial iteration for all symmetry areas is always 0. We were using 1 for the main stroke, so it was 1 step behind. This was broken for expanding masks and face sets, but with face sets it is more noticeable. Reviewed By: brecht Maniphest Tasks: T74501 Differential Revision: https://developer.blender.org/D7050 =================================================================== M source/blender/editors/sculpt_paint/sculpt.c =================================================================== diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index ac03be14ab6..c4752d8cd58 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -10031,7 +10031,7 @@ static int sculpt_mask_expand_invoke(bContext *C, wmOperator *op, const wmEvent ss->filter_cache->mask_update_last_it = 1; ss->filter_cache->mask_update_current_it = 1; - ss->filter_cache->mask_update_it[SCULPT_active_vertex_get(ss)] = 1; + ss->filter_cache->mask_update_it[SCULPT_active_vertex_get(ss)] = 0; copy_v3_v3(ss->filter_cache->mask_expand_initial_co, SCULPT_active_vertex_co_get(ss)); _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
