Made max octree range power of two.

Fixes crashes observed in "Forum" region in SL where some
avatars seem to be flying millions of meters up in the air.
This commit is contained in:
Latif Khalifa
2013-09-11 19:58:02 +02:00
parent 9786bc47fb
commit 170d9c7983

View File

@@ -1010,7 +1010,7 @@ public:
}
LLVector4a MAX_MAG;
MAX_MAG.splat(32767.f * 256.f); // Singu note: SVC-2941 FIRE-11593 maximum increased to 32768 sims across from 4096
MAX_MAG.splat(4096.f * 4096.f); // Singu note: SVC-2941 FIRE-11593 (original range was 1024 * 1024)
const LLVector4a& v = data->getPositionGroup();