Commit: 46ccc54faf8257780dbd8f5d36abc1419ad5576c Author: Campbell Barton Date: Fri May 6 05:17:34 2016 +1000 Branches: master https://developer.blender.org/rB46ccc54faf8257780dbd8f5d36abc1419ad5576c
Fix error not using the cached BVH tree =================================================================== M source/blender/editors/transform/transform_snap_object.c =================================================================== diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index 5174c24..1b1c2c9 100644 --- a/source/blender/editors/transform/transform_snap_object.c +++ b/source/blender/editors/transform/transform_snap_object.c @@ -668,7 +668,7 @@ static bool snapDerivedMesh( } } - if (treedata) { + if (treedata && treedata->tree == NULL) { switch (snap_to) { case SCE_SNAP_MODE_FACE: bvhtree_from_mesh_looptri(treedata, dm, 0.0f, 4, 6); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs