Repository navigation
v2.2
What's Changed
- Updating example mod
Meta.ini - Fixed the constructors of
CollisionObjectP3DChunkandCollisionVectorP3DChunk - Fixing typo in
LocatorP3DChunkconstructor - Added
__pairsmetamethod toP3DChunkclass to only output properties if a known chunk, andValueStrif unknown - Improved
__pairsmetamethod implementation forP3DChunkclass - Improved
P3D.DecompressBlock - Added
Pathto invalid P3D file error - Replaced slow
table_packwith faster{} - Added local reference to
tostringfor faster building - Minor optimisation to
FrontendLanguageclass - Added a missing assert in
FrontendLanguageP3DChunk:GetNameHash - Added
Clonemethod toP3DFileandP3DChunk - Remove redundant comment
- Fixed a bug in
:GetChunksand:GetChunksIndexedwhere it looked atchunksNinstead ofchunkN - Fixed
:Clone()incorrectly cloning the metatable too. Should use the standard metatable of the chunk type. - Added
:Match(Filters) - Added
:Find(Filters, Backwards) - Added
:FindFirst(Filters, Backwards) - Added
:Replace(NewChunk) - Fixed a bug in
Meshconstructor - Improved
OldPrimitiveGroupP3DChunkUV List handling - Fixed a bug in
OldPrimitiveGroupP3DChunkconstructor - Improved
OldPrimitiveGroupP3DChunkGetVertexType() - Fixed a bug in
FrontendLanguageP3DChunk:SetValue - Fixed a bug in
OldIndexOffsetListP3DChunk:__tostring() - Started implementation of Vector maths
- Fixed a typo in
Float2ChannelP3DChunk(Thanks @mazexz7 for pointing it out) - Fixed a bug when adding a chunk by index to the end of the chunk list
Full Changelog: v2.1...v2.2