diff options
author | Jacek Antonelli | 2010-02-18 19:16:41 -0600 |
---|---|---|
committer | Jacek Antonelli | 2010-02-18 19:16:54 -0600 |
commit | e56caa9c48b1b209f349cda88886d20f91407adf (patch) | |
tree | 6251578c1bb26546c44362617114899541f968d5 | |
parent | Ported some asset storage changes from Snowglobe. (diff) | |
download | meta-impy-e56caa9c48b1b209f349cda88886d20f91407adf.zip meta-impy-e56caa9c48b1b209f349cda88886d20f91407adf.tar.gz meta-impy-e56caa9c48b1b209f349cda88886d20f91407adf.tar.bz2 meta-impy-e56caa9c48b1b209f349cda88886d20f91407adf.tar.xz |
SNOW-488: Malformed animation crash.
Patch by Robin Cornelius.
-rw-r--r-- | ChangeLog.txt | 8 | ||||
-rw-r--r-- | linden/indra/newview/llvoavatar.cpp | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 3ab4911..c195870 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,3 +1,11 @@ | |||
1 | 2010-02-18 Jacek Antonelli <jacek.antonelli@gmail.com> | ||
2 | |||
3 | * SNOW-488: Malformed animation crash. | ||
4 | Patch by Robin Cornelius. | ||
5 | |||
6 | modified: linden/indra/newview/llvoavatar.cpp | ||
7 | |||
8 | |||
1 | 2010-02-09 Jacek Antonelli <jacek.antonelli@gmail.com> | 9 | 2010-02-09 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 10 | ||
3 | * Ported some asset storage changes from Snowglobe. | 11 | * Ported some asset storage changes from Snowglobe. |
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp index d2f4a58..883d32f 100644 --- a/linden/indra/newview/llvoavatar.cpp +++ b/linden/indra/newview/llvoavatar.cpp | |||
@@ -5306,7 +5306,7 @@ LLVector3 LLVOAvatar::getVolumePos(S32 joint_index, LLVector3& volume_offset) | |||
5306 | //----------------------------------------------------------------------------- | 5306 | //----------------------------------------------------------------------------- |
5307 | LLJoint* LLVOAvatar::findCollisionVolume(U32 volume_id) | 5307 | LLJoint* LLVOAvatar::findCollisionVolume(U32 volume_id) |
5308 | { | 5308 | { |
5309 | if ((S32)volume_id > mNumCollisionVolumes) | 5309 | if ((S32)volume_id > mNumCollisionVolumes || (S32)volume_id < 0) |
5310 | { | 5310 | { |
5311 | return NULL; | 5311 | return NULL; |
5312 | } | 5312 | } |