mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Merge pull request #1122 from jamesu/fixconvex
Fix castray for cases where callback is used
This commit is contained in:
commit
8d643a35b6
1 changed files with 1 additions and 0 deletions
|
|
@ -318,6 +318,7 @@ struct SceneRayHelper
|
||||||
xformedEnd.convolveInverse(ptr->mObjScale);
|
xformedEnd.convolveInverse(ptr->mObjScale);
|
||||||
|
|
||||||
RayInfo ri;
|
RayInfo ri;
|
||||||
|
ri.object = ptr;
|
||||||
ri.generateTexCoord = info->generateTexCoord;
|
ri.generateTexCoord = info->generateTexCoord;
|
||||||
|
|
||||||
if (mFunc && !mFunc(&ri))
|
if (mFunc && !mFunc(&ri))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue