This is a collection of smaller fixes, collated from reports over the day. Each commit should be a self-contained fix and independently reviewable.
499aae09c093831914953331a8b6a18bef74255e: Due to not calculating bounding boxes, some models such as weapons would "flicker" - this was caused by the all-0 bounding boxes causing the model to be considered "behind" things at any point the model's origin was. Fix is to calculate bounding box correctly. Notably this does not calculate bone bounds, only the main model one. Bones would be a lot more complicated, but will be revisited later.
e2369b590ef82819919c5a9e071b725fc194a52e: Not actually a fix for anything, but I wrote this trying to fix the bounding box issue before that's what i realised it was, so including it anyway. This should make weapons more accurate when importing.
f4d918095633b33c161cbb2c51f02bc87a8520ea: Importing without a colour attribute can result in meshes not rendering at all sometimes, or otherwise just looking very wrong. This just makes colour fall back to pure white if no attribute is defined in the gltf. May also reduce vertex decl mismatch frequency, too.
f24c11d752ea4e67404912a9482957e45826a241: I derped the file path resolution for reading game vs fs data, resulting in file swaps breaking exports. This updates it to use the same basic control flow as item swap.
This is a collection of smaller fixes, collated from reports over the day. Each commit should be a self-contained fix and independently reviewable.