Commit f3bfde65 authored by Andreas Orthey's avatar Andreas Orthey
Browse files

temporary bvh not deleted in BVHDistance

parent 465feee0
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment