Picking crash fix

This commit is contained in:
Siana Gearz
2011-03-01 18:43:50 +01:00
parent bf59cb9aa9
commit 685e388d7f
2 changed files with 2 additions and 2 deletions

View File

@@ -3592,7 +3592,7 @@ S32 LLVolume::lineSegmentIntersect(const LLVector3& start, const LLVector3& end,
if (face == -1) // ALL_SIDES
{
start_face = 0;
end_face = getNumFaces() - 1;
end_face = getNumVolumeFaces() - 1;
}
else
{