Blender Git Loki

Git Commits -> Revision af998b4

Revision af998b4 by Alexander Gavrilov (master)
September 25, 2018, 15:44 (GMT)
Implement correct drawing of advanced Weight display features.

This adds existing behavior from calc_weightpaint_vert_array
that was missing from the new rendering code:

- No selected Vertex Group displays as a solid pink color.
- Zero weight displays as alert color depending on Options.
- Multipaint mode correctly displays collective weight.

In order to properly implement this variety, a data structure
holding all relevant parameters is introduced.

Reviewers: fclem, campbellbarton

Subscribers: jbakker

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

Commit Details:

Full Hash: af998b40a0d1cd1615ab836c6214523169d4dd42
Parent Commit: bd51cad
Lines Changed: +198, -38

7 Modified Paths:

/source/blender/draw/intern/draw_cache.c (+41, -2) (Diff)
/source/blender/draw/intern/draw_cache.h (+1, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+23, -2) (Diff)
/source/blender/draw/intern/draw_cache_impl_mesh.c (+130, -31) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/paint_weight_mode.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021