mirror of https://github.com/AxioDL/metaforce.git
Add skin bank count field to HMDL metadata
This commit is contained in:
parent
47db8b8e84
commit
691d53304c
|
@ -40,6 +40,7 @@ HMDLBuffers BlenderConnection::DataStream::Mesh::getHMDLBuffers(bool absoluteCoo
|
|||
metaOut.colorCount = colorLayerCount;
|
||||
metaOut.uvCount = uvLayerCount;
|
||||
metaOut.weightCount = weightVecCount;
|
||||
metaOut.bankCount = skinBanks.banks.size();
|
||||
|
||||
/* Total all verts from all surfaces (for ibo length) */
|
||||
size_t boundVerts = 0;
|
||||
|
|
|
@ -25,7 +25,8 @@ struct HMDLMeta : athena::io::DNA<athena::BigEndian>
|
|||
Value<atUint32> indexCount;
|
||||
Value<atUint32> colorCount;
|
||||
Value<atUint32> uvCount;
|
||||
Value<atUint32> weightCount;
|
||||
Value<atUint16> weightCount;
|
||||
Value<atUint16> bankCount;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -100,6 +100,7 @@ struct HECLApplicationCallback : boo::IApplicationCallback
|
|||
testMeta.colorCount = 0;
|
||||
testMeta.uvCount = 1;
|
||||
testMeta.weightCount = 0;
|
||||
testMeta.bankCount = 0;
|
||||
|
||||
/* Binary form of meta structure */
|
||||
atUint8 testMetaBuf[HECL_HMDL_META_SZ];
|
||||
|
|
Loading…
Reference in New Issue