Skip to content

gracefully fail if volumetrics model is not found#6505

Merged
Goober5000 merged 1 commit into
scp-fs2open:masterfrom
Goober5000:hull_pof_graceful_fail
Jan 6, 2025
Merged

gracefully fail if volumetrics model is not found#6505
Goober5000 merged 1 commit into
scp-fs2open:masterfrom
Goober5000:hull_pof_graceful_fail

Conversation

@Goober5000

Copy link
Copy Markdown
Contributor

If the volumetrics model cannot be loaded, fail gracefully by warning and not generating volumetrics. This prevents a hard exit in the event of a model problem, particularly when a mission is being edited in FRED.

If the volumetrics model cannot be loaded, fail gracefully by warning and not generating volumetrics.  This prevents a hard exit in the event of a model problem, particularly when a mission is being edited in FRED.
@Goober5000 Goober5000 added cleanup A modification or rewrite of code to make it more understandable or easier to maintain. models Issues or features having to do with model data (like animations or geometry) labels Jan 6, 2025
@Goober5000 Goober5000 requested a review from BMagnu January 6, 2025 06:59

@BMagnu BMagnu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mhm, I'd love for this to throw a "mission could not be loaded correctly" popup as some other things do, but I guess that's out of scope for this.

@Goober5000 Goober5000 merged commit 49de71d into scp-fs2open:master Jan 6, 2025
@Goober5000 Goober5000 deleted the hull_pof_graceful_fail branch January 6, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup A modification or rewrite of code to make it more understandable or easier to maintain. models Issues or features having to do with model data (like animations or geometry)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants