Blender Git Loki

Git Commits -> Revision 6358c77

Revision 6358c77 by Pablo Dobarro (master)
July 1, 2020, 17:03 (GMT)
Cleanup: Add functions to check the first brush step and symmetry passes

This adds three functions to check the state of the stroke in the
StrokeCache, removing the references to first_time and
mirror_symmetry_pass from the code. This makes easier to understand what
each code path is doing inside of each tool.

Some tools were using mirror_symmetry_pass incorrectly, so this should
also fix unreported bugs with radial and tiling symmetry related to that.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8164

Commit Details:

Full Hash: 6358c7754c322919368aef9580bfa5b9a0fa0b60
Parent Commit: bf5a656
Lines Changed: +74, -40

7 Modified Paths:

/source/blender/editors/sculpt_paint/paint_cursor.c (+6, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+55, -29) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+4, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_multiplane_scrape.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+5, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+1, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021