Blender Git Loki

Git Commits -> Revision 32bb848

Revision 32bb848 by Pablo Dobarro (master)
March 26, 2020, 14:39 (GMT)
Fix T74692: Do not draw nodes with the default face set

The default face set color is white, so we can skip drawing the default
face set. This allows to enable again the optimization of not drawing
overlays in nodes where the mask is empty.

This will still slow down the viewport when a new face set is created
for the whole mesh or when inverting the mask, like in previous
versions.

I also renamed the function to make more clear that now it is checking
for both mask and face sets.

Reviewed By: brecht

Maniphest Tasks: T74692

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

Commit Details:

Full Hash: 32bb8488389ae8dc9abd8ae5f662ce4a7f16f104
Parent Commit: c32cf06
Lines Changed: +18, -10

3 Modified Paths:

/source/blender/draw/intern/draw_manager_data.c (+5, -0) (Diff)
/source/blender/gpu/GPU_buffers.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+12, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021