Skip to content

Keep game running when errors occurred while rendering a skin object - #192

Open
Catizard wants to merge 1 commit into
seraxis:mainfrom
Catizard:feat/better_skin_render_error_handling
Open

Keep game running when errors occurred while rendering a skin object#192
Catizard wants to merge 1 commit into
seraxis:mainfrom
Catizard:feat/better_skin_render_error_handling

Conversation

@Catizard

Copy link
Copy Markdown
Collaborator

This pr adds a new configurable option in other tab, which allows the game keeps running even there's an unexpected error happening from rendering some skin objects. Aiming to improve the making process of skins.

It notifies the user when error occurs:
image

And can be viewed in widget menu after(highlighted as red):

image

<VBox prefHeight="200.0" prefWidth="100.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<CheckBox fx:id="usecim" mnemonicParsing="false" prefHeight="25.0" text="%CACHE_SKIN_IMAGE" />
<CheckBox fx:id="clipboardScreenshot" mnemonicParsing="false" prefHeight="25.0" text="%CLIPBOARD_SCREENSHOT" />
<CheckBox fx:id="keepSilentWhenRenderFailed" mnemonicParsing="false" prefHeight="25.0" text="%IGNORE_SKIN_OBJECT_RENDER_ERROR" />

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I feel like finding space on the top bar in the Skin tab might be more appropriate for this one? or should this feature always be on, I'm not sure what value we bring to the user by allowing skin failures to be fatal

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