Picking crash fix
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -2042,7 +2042,7 @@ BOOL LLVOVolume::lineSegmentIntersect(const LLVector3& start, const LLVector3& e
|
||||
if (face == -1)
|
||||
{
|
||||
start_face = 0;
|
||||
end_face = volume->getNumFaces();
|
||||
end_face = volume->getNumVolumeFaces();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user