error in last commit
authorCampbell Barton <ideasman42@gmail.com>
Wed, 11 May 2016 15:43:56 +0000 (01:43 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 11 May 2016 15:43:56 +0000 (01:43 +1000)
source/blender/editors/transform/transform_snap_object.c

index 2d7629604b1d0d373b204017638a285e0f675787..62ca4e515a5a5a17774ce8c93a4c57e52aebf34d 100644 (file)
@@ -786,7 +786,7 @@ static bool snapDerivedMesh(
 
                                /* the tree is owned by the DM and may have been freed since we last used! */
                                if (treedata && treedata->tree) {
-                                       if (treedata->cached && !bvhcache_has_tree(&dm->bvhCache, treedata->tree)) {
+                                       if (treedata->cached && !bvhcache_has_tree(dm->bvhCache, treedata->tree)) {
                                                free_bvhtree_from_mesh(treedata);
                                        }
                                }