- improve failsafeness of GeometryBatchFactory

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 47f6470a27
commit fbf42ffbca
  1. 2
      engine/src/tools/jme3tools/optimize/GeometryBatchFactory.java

@ -158,7 +158,7 @@ public class GeometryBatchFactory {
VertexBuffer inBuf = inMesh.getBuffer(Type.values()[bufType]);
VertexBuffer outBuf = outMesh.getBuffer(Type.values()[bufType]);
if (outBuf == null) {
if (inBuf == null || outBuf == null) {
continue;
}

Loading…
Cancel
Save