Files
NexusDashboard/app/properties.py
Bob G 9cb88506a1 Handle any separator style when resolving pre-built model asset paths (#132)
prebuilt() only split render_asset on an escaped double backslash and then on
'/', so paths using single backslashes (mesh\ftcommunityitems\x.nif) kept
their directories in the file name. The LXFML lookup then failed and
get_model returned 500. Extract the base name by splitting on any run of
backslashes or forward slashes and lowercasing it. Also return 404 instead
of an unusable string when a LOT has no render asset.

Co-authored-by: bob-g-code <346622190+bob-g-code@users.noreply.github.com>
2026-10-27 15:50:43 -05:00

16 KiB