Fix #34413 Dyntopo, smooth shading normals not getting uploaded to GPU

and undo buffers.

When we have smooth shading we must not only update the unique vertex
normals.
This commit is contained in:
Antony Riakiotakis
2013-08-18 19:47:33 +00:00
parent b9f78815f1
commit 6fe983ddf5

View File

@@ -1026,6 +1026,9 @@ void pbvh_bmesh_normals_update(PBVHNode **nodes, int totnode)
GHASH_ITER (gh_iter, node->bm_unique_verts) {
BM_vert_normal_update(BLI_ghashIterator_getKey(&gh_iter));
}
GHASH_ITER (gh_iter, node->bm_other_verts) {
BM_vert_normal_update(BLI_ghashIterator_getKey(&gh_iter));
}
}
}