mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Merge pull request #482 from DavidWyand-GG/DecalManagerContainer
DecalManager scene container fix
This commit is contained in:
commit
599738477e
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ void SceneContainer::insertIntoBins(SceneObject* obj)
|
|||
|
||||
// For huge objects, dump them into the overflow bin. Otherwise, everything
|
||||
// goes into the grid...
|
||||
if ((maxX - minX + 1) < csmNumBins || (maxY - minY + 1) < csmNumBins && !obj->isGlobalBounds())
|
||||
if (!obj->isGlobalBounds() && ((maxX - minX + 1) < csmNumBins || (maxY - minY + 1) < csmNumBins))
|
||||
{
|
||||
SceneObjectRef** pCurrInsert = &obj->mBinRefHead;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue