branch number goes whee. as usual, collection of smaller fixes:
fixed export being unable to handle single-uv imports
update export to use .glb rather than .gltf
hopefully will reduce people uploading a bare gltf without the .bin. i've got local tools now for converting glb into something usable
a bunch of material validation improvements - hopefully it'll lead to less people crashing themselves out
now requires that they contain at least one / and end in .mtrl
ui will draw a red x with a help tooltip if it's invalid
also renders the invalid count on the header in case it's collapsed and the import contains invalid materials
also, made the general file editor disable the save button if the file is invalid. i'm making the assumption here that other file types track validity correctly
normalised vertex colours on export
Fixes #411
omit bone names for zero-weight mappings
this prevents completely-unused bones that are regularly in index 0 (such as n_root) showing up in imports despite never being used and breaking count rules on heavily weighted models.
fixed errors when imported model materials are missing names
fixed IO failures in havok conversion when user temp folder path contained unicode (thanks otter! i think this is already on main branch)
fixes (i think) that insane janky normals / holes in meshes / etc bug that's been plaguing me for months
branch number goes whee. as usual, collection of smaller fixes:
/
and end in.mtrl
n_root
) showing up in imports despite never being used and breaking count rules on heavily weighted models.