Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pose Auto Save: sanitise paths to ensure they are valid on FS. #164

Open
wants to merge 1 commit into
base: v0.3/main
Choose a base branch
from

Conversation

Cazzar
Copy link
Contributor

@Cazzar Cazzar commented Oct 23, 2024

Somewhat of a random idea on an issue I had with pose autosave not triggering properly for a pose I did.

This forcefully replaces any invalid path characters with _ using Path.GetInvalidFileNameChars()

Additionally to this, to ensure that an exception isn't being hidden by the Framework.RunOnFrameworkThread call, that is awaited and wrapped with a try/catch.

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.

1 participant