It's silly that this was necessary... but it was.

This commit is contained in:
Shyotl
2015-02-25 03:04:49 -06:00
parent b7454f5f43
commit af41a652e4
10 changed files with 11 additions and 23 deletions

View File

@@ -74,8 +74,7 @@ void main()
//transform vertex
#ifdef HAS_SKIN
mat4 trans = getObjectSkinnedTransform();
trans = modelview_matrix * trans;
mat4 trans = modelview_matrix * getObjectSkinnedTransform();
pos = trans * vec4(position.xyz, 1.0);