patch [#36233] Fix Halo and Billboard Normal and Behavior

from Vitor Balbio (vitorbalbio)

Fixes billboard flipping (flipped normals and textures too)
This commit is contained in:
Campbell Barton
2013-07-28 12:03:53 +00:00
parent 46aea9c0c8
commit 1448499d70

View File

@@ -225,7 +225,7 @@ void KX_BlenderRenderTools::applyTransform(RAS_IRasterizer* rasty,double* oglmat
}
MT_Vector3 left = dir.normalized();
dir = (left.cross(up)).normalized();
dir = (up.cross(left)).normalized();
// we have calculated the row vectors, now we keep
// local scaling into account: