diff options
-rw-r--r-- | ChangeLog.txt | 5 | ||||
-rw-r--r-- | linden/indra/newview/llvoavatar.cpp | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 159343d..8154609 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -4,6 +4,11 @@ | |||
4 | 4 | ||
5 | 2009-11-09 McCabe Maxsted <hakushakukun@gmail.com> | 5 | 2009-11-09 McCabe Maxsted <hakushakukun@gmail.com> |
6 | 6 | ||
7 | * Attachment size limits need to use the max prim size set in llmanipscale. | ||
8 | |||
9 | modified: linden/indra/newview/llvoavatar.cpp | ||
10 | |||
11 | |||
7 | * Updated streaming video callback in llviewerparcelmedia. | 12 | * Updated streaming video callback in llviewerparcelmedia. |
8 | 13 | ||
9 | modified: linden/indra/newview/llviewerparcelmedia.cpp | 14 | modified: linden/indra/newview/llviewerparcelmedia.cpp |
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) |