mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-02 11:05:15 +00:00
Merge pull request #1457 from Azaezel/meshRoadMats
hooks meshroads up to the material system for castrays
This commit is contained in:
commit
c2e5eb82af
1 changed files with 1 additions and 1 deletions
|
|
@ -1552,7 +1552,7 @@ bool MeshRoad::castRay( const Point3F &s, const Point3F &e, RayInfo *info )
|
|||
info->point.interpolate(start, end, out);
|
||||
info->face = -1;
|
||||
info->object = this;
|
||||
|
||||
info->material = this->mMatInst[0];
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue