Browse Source

* Fixed bug with dual UV channel loading, forgot to do it in the previous revision..

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7133 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
sha..rd 14 years ago
parent
commit
e4cc9d1482
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/src/ogre/com/jme3/scene/plugins/ogre/MeshLoader.java

+ 1 - 1
engine/src/ogre/com/jme3/scene/plugins/ogre/MeshLoader.java

@@ -442,7 +442,7 @@ public class MeshLoader extends DefaultHandler implements AssetLoader {
     }
     }
 
 
     private void pushTexCoord(Attributes attribs) throws SAXException{
     private void pushTexCoord(Attributes attribs) throws SAXException{
-        if (texCoordIdx >= 1)
+        if (texCoordIdx >= 2)
             return; // TODO: More than 2 texcoords
             return; // TODO: More than 2 texcoords
 
 
         Type type = texCoordIdx == 0 ? Type.TexCoord : Type.TexCoord2;
         Type type = texCoordIdx == 0 ? Type.TexCoord : Type.TexCoord2;