Skip to content
Snippets Groups Projects
Commit f3bfde65 authored by Andreas Orthey's avatar Andreas Orthey
Browse files

temporary bvh not deleted in BVHDistance

parent 465feee0
No related branches found
No related tags found
No related merge requests found
......@@ -229,6 +229,8 @@ FCL_REAL BVHDistance(const CollisionGeometry* o1, const Transform3f& tf1, const
initialize(node, *obj1_tmp, tf1_tmp, *obj2_tmp, tf2_tmp, request, result);
distance(&node);
delete obj1_tmp;
delete obj2_tmp;
return result.min_distance;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment