From b4c39c321c6908bc6fab6db3e0b01ca7a71793fe Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Fri, 7 Jun 2013 10:00:15 -0700 Subject: [PATCH] fix bug with animation server not sending entire billboard --- animation-server/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animation-server/src/main.cpp b/animation-server/src/main.cpp index 32a6393525..c29521ec7d 100644 --- a/animation-server/src/main.cpp +++ b/animation-server/src/main.cpp @@ -531,7 +531,7 @@ float billboardGradientIncrement = 0.01f; const float BILLBOARD_MAX_GRADIENT = 1.0f; const float BILLBOARD_MIN_GRADIENT = 0.0f; const float BILLBOARD_LIGHT_SIZE = 0.125f / TREE_SCALE; // approximately 1/8 meter per light -const int VOXELS_PER_PACKET = 100; +const int VOXELS_PER_PACKET = 81; const int PACKETS_PER_BILLBOARD = VOXELS_PER_PACKET / (BILLBOARD_HEIGHT * BILLBOARD_WIDTH);