mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-12 21:32:52 +00:00
* fix(model): FBX records stay within their parent, and textures, materials and links are indexed A binary child record could end past its parent: the parent's end was then restored and the child's tail parsed again. A failed array decompression printed the decompressed bytes in the error. Texture objects aliasing one embedded Video or file each decoded and kept their own pixels, outside the import budget. Each polygon scanned the primitive groups for its material, and each object scanned every connection for its children. * address review: FBX textures: key image cache by the source used, charge decoded size before decoding, propagate budget errors * Import: a model's left-out parts reach the user as an import warning (Model::warnings, Importer::probe_noting) * Import: a model's left-out parts reach the user as an import warning * FBX: textures past the limits are left out with an import warning, not a failed import; 2^29-pixel allowance