diff --git a/Engine/source/scene/sceneContainer.cpp b/Engine/source/scene/sceneContainer.cpp index 27eabbe6c..e99f5be11 100644 --- a/Engine/source/scene/sceneContainer.cpp +++ b/Engine/source/scene/sceneContainer.cpp @@ -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;