Commit 51a87a4d authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

fix to rayIntersection check

parent 4b1d27f6
......@@ -291,7 +291,7 @@ class TriangleMesh(object):
return_locations=True,
multiple_hits=False)
if tris.size == 0:
if len(tris) == 0:
return np.zeros((0, 3)), np.zeros((0,))
# sort by ray. I'm Not sure if this is
......
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