* 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
3.0
sha..rd 14 years ago
parent 8adc704bcc
commit e4cc9d1482
  1. 2
      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;

Loading…
Cancel
Save