svn merge ^/trunk/blender -r41226:41227 .
[blender.git] / source / blender / blenlib / intern / pbvh.c
index 9471f09..6cba798 100644 (file)
@@ -1577,7 +1577,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]);