This PR adds setOverrideMimeType() to XHRLoader.
Users can specify charcode of downloaded file with it.
I need this ability because
VPD file which includes MMD pose data is generally shift_jis.
To load the file correctly
I need to set request.overrideMimeType( 'text/plain; charset=shift_jis' );
request.overrideMimeType( 'text/plain; charset=shift_jis' );
Add setOverrideMimeType() to XHRLoader
Looks good! How about calling it setMimeType() instead though?
Agreed! I'll update soon
Ops, you'll have to pull from dev first. I've just renamed XHRLoader to FileLoader... 😇
Merge remote-tracking branch 'upstream/dev' into XHRLoaderOverrideMim…
Rename setOverrideMimeType with setMimeType of FileLoader