aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llvoavatar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index 225ef2e..1fa7cf0 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -54,6 +54,7 @@
54#include "llkeyframefallmotion.h" 54#include "llkeyframefallmotion.h"
55#include "llkeyframestandmotion.h" 55#include "llkeyframestandmotion.h"
56#include "llkeyframewalkmotion.h" 56#include "llkeyframewalkmotion.h"
57#include "llmanipscale.h" // getMaxPrimSize()
57#include "llmutelist.h" 58#include "llmutelist.h"
58#include "llnotify.h" 59#include "llnotify.h"
59#include "llquantize.h" 60#include "llquantize.h"
@@ -1463,7 +1464,7 @@ void LLVOAvatar::getSpatialExtents(LLVector3& newMin, LLVector3& newMax)
1463 LLVector3 pos = getRenderPosition(); 1464 LLVector3 pos = getRenderPosition();
1464 newMin = pos - buffer; 1465 newMin = pos - buffer;
1465 newMax = pos + buffer; 1466 newMax = pos + buffer;
1466 float max_attachment_span = DEFAULT_MAX_PRIM_SCALE * 5.0f; 1467 float max_attachment_span = LLManipScale::getMaxPrimSize() * 5.0f;
1467 1468
1468 //stretch bounding box by joint positions 1469 //stretch bounding box by joint positions
1469 for (polymesh_map_t::iterator i = mMeshes.begin(); i != mMeshes.end(); ++i) 1470 for (polymesh_map_t::iterator i = mMeshes.begin(); i != mMeshes.end(); ++i)