|
|
@ -178,7 +178,6 @@ public class MeshLoader extends DefaultHandler implements AssetLoader { |
|
|
|
// Old code for buffer sharer
|
|
|
|
// Old code for buffer sharer
|
|
|
|
//return geom.getUserData(UserData.JME_SHAREDMESH) != null;
|
|
|
|
//return geom.getUserData(UserData.JME_SHAREDMESH) != null;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
private void startFaces(String count) throws SAXException { |
|
|
|
private void startFaces(String count) throws SAXException { |
|
|
|
int numFaces = parseInt(count); |
|
|
|
int numFaces = parseInt(count); |
|
|
|
int indicesPerFace = 0; |
|
|
|
int indicesPerFace = 0; |
|
|
@ -302,8 +301,8 @@ public class MeshLoader extends DefaultHandler implements AssetLoader { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Normalizes weights if needed and finds largest amount of weights used |
|
|
|
* Normalizes weights if needed and finds largest amount of weights used for |
|
|
|
* for all vertices in the buffer. |
|
|
|
* all vertices in the buffer. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void endBoneAssigns() { |
|
|
|
private void endBoneAssigns() { |
|
|
|
// if (mesh != sharedMesh && isUsingSharedVerts(geom)) {
|
|
|
|
// if (mesh != sharedMesh && isUsingSharedVerts(geom)) {
|
|
|
|