Skip to content
Snippets Groups Projects
Commit b1ef5dee authored by Mnikolenko ProductEngine's avatar Mnikolenko ProductEngine
Browse files

MAINT-4619 FIXED Using Align Planar Faces on flexible prims causes viewer to crash

parent 3b50cdd7
No related branches found
No related tags found
No related merge requests found
......@@ -956,6 +956,10 @@ void LLFace::getPlanarProjectedParams(LLQuaternion* face_rot, LLVector3* face_po
const LLVolumeFace& vf = getViewerObject()->getVolume()->getVolumeFace(mTEOffset);
const LLVector4a& normal4a = vf.mNormals[0];
const LLVector4a& tangent = vf.mTangents[0];
if (!&tangent)
{
return;
}
LLVector4a binormal4a;
binormal4a.setCross3(normal4a, tangent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment