Blender Git Commit Log

Git Commits -> Revision 751189e

Revision 751189e by Campbell Barton (master)
June 19, 2018, 06:50 (GMT)
Vertex Paint: set sculpt object mode immediately

SculptSession.mode_type wasn't initialized until painting,
making it unreliable for checks in other parts of the code.

Also remove unnecessary initialization,
matching sculpt mode more closely.

Commit Details:

Full Hash: 751189e9d6828368614fe3f517a80ddb95f8c547
Parent Commit: f0c6f5e
Lines Changed: +18, -17

2 Modified Paths:

/source/blender/editors/sculpt_paint/paint_vertex.c (+15, -10) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+3, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021