Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Error handling for 0 bounds (e.g. default with no bones) #43

Open
MikalDev opened this issue Jan 5, 2021 · 0 comments
Open

Error handling for 0 bounds (e.g. default with no bones) #43

MikalDev opened this issue Jan 5, 2021 · 0 comments

Comments

@MikalDev
Copy link
Collaborator

MikalDev commented Jan 5, 2021

Add error handling for CreateDynamicTexture with incorrect texture size.

(Error showed up with a default skin with no bones, which cause -Infinity, -Infinity texture size.)

In debug mode, show texture size being created.

If texture size illegal, add console debug output and exit gracefully.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant