Skip to content

Commit 9596e37

Browse files
committed
Fix incorrect name
1 parent 6aa2a8b commit 9596e37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

newton/_src/geometry/raycast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ def intersect_ray(
878878
out_normal: Optional output hit normals, shape [ray_count, 3].
879879
"""
880880

881-
if not model.bvh_id:
881+
if model.bvh_shapes is None:
882882
raise RuntimeError("BVH raycasting requires a shape BVH to be built first using build_bvh_shape().")
883883

884884
write_dist = out_dist is not None

0 commit comments

Comments
 (0)