From e4cc9d148232a8aa3f0490750f2093917bed90da Mon Sep 17 00:00:00 2001 From: "sha..rd" Date: Mon, 28 Mar 2011 04:02:29 +0000 Subject: [PATCH] * 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 --- engine/src/ogre/com/jme3/scene/plugins/ogre/MeshLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/ogre/com/jme3/scene/plugins/ogre/MeshLoader.java b/engine/src/ogre/com/jme3/scene/plugins/ogre/MeshLoader.java index fe5ae402b..53f145e72 100644 --- a/engine/src/ogre/com/jme3/scene/plugins/ogre/MeshLoader.java +++ b/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{ - if (texCoordIdx >= 1) + if (texCoordIdx >= 2) return; // TODO: More than 2 texcoords Type type = texCoordIdx == 0 ? Type.TexCoord : Type.TexCoord2;