Skip to content

Misc fixes associated to looseAssetFiles handling and lookups for LevelAssets#1721

Merged
Azaezel merged 2 commits intoTorqueGameEngines:developmentfrom
Areloch:LevelLooseFilesFixes
Apr 21, 2026
Merged

Misc fixes associated to looseAssetFiles handling and lookups for LevelAssets#1721
Azaezel merged 2 commits intoTorqueGameEngines:developmentfrom
Areloch:LevelLooseFilesFixes

Conversation

@Areloch
Copy link
Copy Markdown
Contributor

@Areloch Areloch commented Apr 21, 2026

  • Adds proper marking of Load status for levelAsset, so if no mis file is defined then the asset fails to load and has proper error code
  • Adjusts the get*Path() util methods for getting stuff like postFXPrefix or decal files to have a fallback if one isn't currently defined in the assetDef, as it could be a broken link but the file does exist
  • Adjusts saving logic of level so it will properly update the levelAsset for postfx prefix or decal files so if they were added after creation of the assetdef, they're saved and updated as expected
  • Adjusts the setter methods for the *File fields to correctly separate the File variable and Path variable to make things behave more clearly and consistently.
  • Keeps checks for *.mis.decals file pattern, but shifts new creations of decals files to just be *.decals to better match other level-associated files like *.nav or *.forest

Areloch added 2 commits April 21, 2026 01:22
…elAssets

- Adds proper marking of Load status for levelAsset, so if no mis file is defined then the asset fails to load and has proper error code
- Adjusts the get*Path() util methods for getting stuff like postFXPrefix or decal files to have a fallback if one isn't currently defined in the assetDef, as it could be a broken link but the file does exist
- Adjusts saving logic of level so it will properly update the levelAsset for postfx prefix or decal files so if they were added after creation of the assetdef, they're saved and updated as expected
- Adjusts the setter methods for the *File fields to correctly separate the File variable and Path variable to make things behave more clearly and consistently.
- Keeps checks for *.mis.decals file pattern, but shifts new creations of decals files to just be *.decals to better match other level-associated files like *.nav or *.forest
@Azaezel Azaezel merged commit 3641727 into TorqueGameEngines:development Apr 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants