diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-05 22:17:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-05 22:17:34 +0300 |
commit | 46ccc54faf8257780dbd8f5d36abc1419ad5576c (patch) | |
tree | 0efc5a89ea0600fcb96cc85b2a91cfc056c137ac /source/blender/editors | |
parent | 0b5a0d84126e629394b198508789378eb5663561 (diff) |
Fix error not using the cached BVH tree
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/transform/transform_snap_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index 5174c2477b4..1b1c2c93951 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); |