Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-07-28 16:03:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-28 16:03:53 +0400
commit1448499d70a3c1f9dd418cdffb42fb187e7d57a7 (patch)
treea3400f4d6c6378265298ddcceaea9e77329efb84 /source/gameengine/BlenderRoutines
parent46aea9c0c8969a3cacdda9d43ed3b8596ed725e9 (diff)
patch [#36233] Fix Halo and Billboard Normal and Behavior
from Vitor Balbio (vitorbalbio) Fixes billboard flipping (flipped normals and textures too)
Diffstat (limited to 'source/gameengine/BlenderRoutines')
-rw-r--r--source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp
index 1fcda74d3bd..a6b71e0bc43 100644
--- a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp
+++ b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp
@@ -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: