Merge pull request #1122 from jamesu/fixconvex

Fix castray for cases where callback is used
This commit is contained in:
Brian Roberts 2023-10-28 14:17:06 -05:00 committed by GitHub
commit 8d643a35b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -318,6 +318,7 @@ struct SceneRayHelper
xformedEnd.convolveInverse(ptr->mObjScale);
RayInfo ri;
ri.object = ptr;
ri.generateTexCoord = info->generateTexCoord;
if (mFunc && !mFunc(&ri))