mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Alternate fix for castRay issue
This commit is contained in:
parent
edbb76155b
commit
97d7d2e992
4 changed files with 5 additions and 6 deletions
|
|
@ -318,10 +318,9 @@ struct SceneRayHelper
|
|||
xformedEnd.convolveInverse(ptr->mObjScale);
|
||||
|
||||
RayInfo ri;
|
||||
ri.object = ptr;
|
||||
ri.generateTexCoord = info->generateTexCoord;
|
||||
|
||||
if (mFunc && !mFunc(&ri))
|
||||
if (mFunc && !mFunc(ptr))
|
||||
return false;
|
||||
|
||||
bool result = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue