Commit: ac0b69233cacf86aff8a3417b6b69a562eb0f964 Author: Antony Riakiotakis Date: Thu May 29 05:04:39 2014 +0300 https://developer.blender.org/rBac0b69233cacf86aff8a3417b6b69a562eb0f964
Related to T40381, Cleanup the normal flag or else the smooth tool will work on more and more nodes as we sculpt. =================================================================== M source/blender/blenkernel/intern/pbvh.c =================================================================== diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c index 45de144..a60f732 100644 --- a/source/blender/blenkernel/intern/pbvh.c +++ b/source/blender/blenkernel/intern/pbvh.c @@ -948,8 +948,13 @@ static void pbvh_update_normals(PBVH *bvh, PBVHNode **nodes, return; } - if (bvh->type != PBVH_FACES) + if (bvh->type != PBVH_FACES) { + /* make sure we clean up the flag! */ + for (n = 0; n < totnode; n++) { + nodes[n]->flag &= ~PBVH_UpdateNormals; + } return; + } /* could be per node to save some memory, but also means * we have to store for each vertex which node it is in */ _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs