Blender Git Commit Log
Git Commits -> Revision 29dbe00
Revision 29dbe00 by Philipp Oeser (master) October 19, 2020, 13:01 (GMT) |
Fix T81484: Weight/Vertex paint with mirror and viewport clipping does not update stroke on initial side Issue introduced in rB4f616c93f7cb. Issue here is that the the `StrokeCache` `mirror_symmetry_pass` is still in its previous state when entering `wpaint_do_symmetrical_brush_actions`. For the initial stroke this means that the (wrong) cache `mirror_symmetry_pass` ends up in SculptBrushTest `mirror_symmetry_pass` as well and thus the clipping test in `sculpt_brush_test_clipping` will fail. [ This one flips the coords to test against clipping according to (now wrong) `mirror_symmetry_pass` ] Solution seems simple: just ensure we start of with a `mirror_symmetry_pass` of zero in `wpaint_do_symmetrical_brush_actions` for the initial stroke. Same thing is done for vertex paint as well. Maniphest Tasks: T81484 Differential Revision: https://developer.blender.org/D9268 |
Commit Details:
Full Hash: 29dbe00719812925ab88030ce68509bf113520c5
Parent Commit: 477d983
Lines Changed: +2, -0
1 Modified Path:
/source/blender/editors/sculpt_paint/paint_vertex.c (+2, -0) (Diff)