Blender Git Loki

Git Commits -> Revision 4818ed1

Revision 4818ed1 by Pablo Dobarro (master)
February 10, 2021, 17:06 (GMT)
Cleanup: Unindent if statements in sculpt tools code

This removes indentations from if statements by converting them to early
returns and continue.
Most of the code of brushes and tools has loops with a full indented
body inside of an if, which was also copied into some of the new tools.

Reviewed By: JacquesLucke

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

Commit Details:

Full Hash: 4818ed1c76cad447b59a36056b170282732dde0d
Parent Commit: 54cbfee
Lines Changed: +2137, -1990

9 Modified Paths:

/source/blender/editors/sculpt_paint/sculpt.c (+1406, -1315) (Diff)
/source/blender/editors/sculpt_paint/sculpt_automasking.c (+13, -11) (Diff)
/source/blender/editors/sculpt_paint/sculpt_boundary.c (+164, -145) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+146, -137) (Diff)
/source/blender/editors/sculpt_paint/sculpt_face_set.c (+87, -77) (Diff)
/source/blender/editors/sculpt_paint/sculpt_multiplane_scrape.c (+88, -82) (Diff)
/source/blender/editors/sculpt_paint/sculpt_paint_color.c (+113, -105) (Diff)
/source/blender/editors/sculpt_paint/sculpt_pose.c (+39, -37) (Diff)
/source/blender/editors/sculpt_paint/sculpt_smooth.c (+81, -81) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021