Merge branch 'master' into blender2.8

This commit is contained in:
2018-02-15 14:15:55 +01:00
94 changed files with 273 additions and 271 deletions

View File

@@ -1901,7 +1901,7 @@ bool GPU_pbvh_buffers_diffuse_changed(GPU_PBVH_Buffers *buffers, GSet *bm_faces,
}
else if (buffers->use_bmesh) {
/* due to dynamic nature of dyntopo, only get first material */
if (BLI_gset_size(bm_faces) > 0) {
if (BLI_gset_len(bm_faces) > 0) {
GSetIterator gs_iter;
BMFace *f;