mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-14 17:34:09 +00:00
Merge branch 'GarageGames/master' into ueberengine-dev
Conflicts: Engine/source/windowManager/sdl/sdlWindowMgr.cpp Tools/CMake/torque3d.cmake 3.10 final update
This commit is contained in:
commit
aff033dd0d
1003 changed files with 53039 additions and 82707 deletions
|
|
@ -632,9 +632,9 @@ DecalInstance* DecalManager::getClosestDecal( const Point3F &pos )
|
|||
}
|
||||
}
|
||||
|
||||
if ( !collectedInsts.empty() &&
|
||||
if ( (!collectedInsts.empty() &&
|
||||
collectedInsts[closestIndex] &&
|
||||
closestDistance < 1.0f ||
|
||||
closestDistance < 1.0f) ||
|
||||
worldInstSphere.isContained( pos ) )
|
||||
return collectedInsts[closestIndex];
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue