@ -582,12 +582,14 @@ public class BatchNode extends GeometryGroupNode {
if(VertexBuffer.Type.Tangent.ordinal()==bufType){
if(VertexBuffer.Type.Tangent.ordinal()==bufType){
useTangents=true;
useTangents=true;
}
}
}else{
if(inBuf==null){
thrownewIllegalArgumentException("Geometry "+geom.getName()+" has no "+outBuf.getBufferType()+" buffer whereas other geoms have. all geometries should have the same types of buffers.\n Try to use GeometryBatchFactory.alignBuffer() on the BatchNode before batching");
}elseif(outBuf==null){
thrownewIllegalArgumentException("Geometry "+geom.getName()+" has a "+outBuf.getBufferType()+" buffer whereas other geoms don't. all geometries should have the same types of buffers.\n Try to use GeometryBatchFactory.alignBuffer() on the BatchNode before batching");