* 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
This commit is contained in:
parent
8adc704bcc
commit
e4cc9d1482
@ -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…
x
Reference in New Issue
Block a user