Yay finally found that one :D Models with multiple materials and armatures should now load withour mesh deformations :D
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10066 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
meshContext.setBindPoseBuffer(verticesBind);//this is stored in the context and applied when needed (when animation is applied to the mesh)
meshContext.setBindPoseBuffer(materialIndex,verticesBind);//this is stored in the context and applied when needed (when animation is applied to the mesh)
// setting vertices colors
// setting vertices colors
if(verticesColors!=null){
if(verticesColors!=null){
@ -193,7 +193,7 @@ public class MeshHelper extends AbstractBlenderHelper {
// setting faces' normals
// setting faces' normals
mesh.setBuffer(normalsBuffer);
mesh.setBuffer(normalsBuffer);
meshContext.setBindNormalBuffer(normalsBind);//this is stored in the context and applied when needed (when animation is applied to the mesh)
meshContext.setBindNormalBuffer(materialIndex,normalsBind);//this is stored in the context and applied when needed (when animation is applied to the mesh)