revert r58693. patch [#36233], caused regression (bug report [#36959]).
authorCampbell Barton <ideasman42@gmail.com>
Mon, 7 Oct 2013 11:51:59 +0000 (11:51 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 7 Oct 2013 11:51:59 +0000 (11:51 +0000)
source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp

index a6b71e0bc435c25b7bb0cb1e6f98ee54c88aff8c..2776c4ed0db0d25f5ac427bbe819af79c87e8dd9 100644 (file)
@@ -225,7 +225,7 @@ void KX_BlenderRenderTools::applyTransform(RAS_IRasterizer* rasty,double* oglmat
                }
 
                MT_Vector3 left = dir.normalized();
                }
 
                MT_Vector3 left = dir.normalized();
-               dir = (up.cross(left)).normalized();
+               dir = (left.cross(up)).normalized();
 
                // we have calculated the row vectors, now we keep
                // local scaling into account:
 
                // we have calculated the row vectors, now we keep
                // local scaling into account:
@@ -408,3 +408,4 @@ void KX_BlenderRenderTools::MotionBlur(RAS_IRasterizer* rasterizer)
                }
        }
 }
                }
        }
 }
+