fix [#35884] evil bge.types.BL_Shader.setUniformMatrix3()
authorCampbell Barton <ideasman42@gmail.com>
Thu, 27 Jun 2013 07:49:20 +0000 (07:49 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 27 Jun 2013 07:49:20 +0000 (07:49 +0000)
source/gameengine/Ketsji/BL_Shader.cpp

index 4a74024b5bbd5f7c4c941297ebad0de3b0565c00..8032fb6c0af8115ececdbb31fec825e5876075e4 100644 (file)
@@ -1363,7 +1363,7 @@ KX_PYMETHODDEF_DOC( BL_Shader, setUniformMatrix3,
        
 
 #ifdef SORT_UNIFORMS
-       mat.getValue(matr);
+       mat.getValue3x3(matr);
        SetUniformfv(loc, BL_Uniform::UNI_MAT3, matr, (sizeof(float)*9), (transp!=0) );
 #else
        SetUniform(loc,mat,(transp!=0));