Merge branch 'bug_fix_20130802' of git://github.com/Apelsin/EffervescenceViewer

This commit is contained in:
Latif Khalifa
2013-08-03 01:41:45 +02:00

View File

@@ -2074,7 +2074,7 @@ LLVector3 LLVOVolume::getApproximateFaceNormal(U8 face_id)
result.add(face.mNormals[i]);
}
LLVector3 ret(result.getF32ptr());
ret = LLVector3(result.getF32ptr());
ret = volumeDirectionToAgent(ret);
ret.normVec();
}