svn merge ^/trunk/blender -r42116:42139
[blender.git] / source / blender / blenlib / intern / pbvh.c
index 5c7a29c6277b62e91837a71b1877b959a5c1563f..ae0becc840b7ce63a48419aa262a7ab6f853782e 100644 (file)
@@ -1585,7 +1585,7 @@ void BLI_pbvh_apply_vertCos(PBVH *pbvh, float (*vertCos)[3])
                }
 
                /* coordinates are new -- normals should also be updated */
-               mesh_calc_normals(pbvh->verts, pbvh->totvert, pbvh->faces, pbvh->totprim, NULL);
+               mesh_calc_tessface_normals(pbvh->verts, pbvh->totvert, pbvh->faces, pbvh->totprim, NULL);
 
                for (a= 0; a < pbvh->totnode; ++a)
                        BLI_pbvh_node_mark_update(&pbvh->nodes[a]);