Reduce max size of octree root to 2048^2 in an attempt to avoid float errors leading to crashes on very long teleports

This commit is contained in:
Latif Khalifa
2013-09-12 03:09:51 +02:00
parent 5575ff2b90
commit 5573499b9d

View File

@@ -1014,7 +1014,7 @@ public:
}
LLVector4a MAX_MAG;
MAX_MAG.splat(4096.f * 4096.f); // Singu note: SVC-2941 FIRE-11593 (original range was 1024 * 1024)
MAX_MAG.splat(2048.f * 2048.f); // Singu note: SVC-2941 FIRE-11593 (original range was 1024 * 1024)
const LLVector4a& v = data->getPositionGroup();