mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 13:30:34 +00:00
Set ri.object for castRay so convex shape editing works
This commit is contained in:
parent
105e45c56b
commit
e8271413e1
1 changed files with 1 additions and 0 deletions
|
|
@ -318,6 +318,7 @@ struct SceneRayHelper
|
|||
xformedEnd.convolveInverse(ptr->mObjScale);
|
||||
|
||||
RayInfo ri;
|
||||
ri.object = ptr;
|
||||
ri.generateTexCoord = info->generateTexCoord;
|
||||
|
||||
if (mFunc && !mFunc(&ri))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue