mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Set ri.object for castRay so convex shape editing works
This commit is contained in:
parent
105e45c56b
commit
e8271413e1
|
|
@ -318,6 +318,7 @@ struct SceneRayHelper
|
|||
xformedEnd.convolveInverse(ptr->mObjScale);
|
||||
|
||||
RayInfo ri;
|
||||
ri.object = ptr;
|
||||
ri.generateTexCoord = info->generateTexCoord;
|
||||
|
||||
if (mFunc && !mFunc(&ri))
|
||||
|
|
|
|||
Loading…
Reference in a new issue