gritsenko / c3_spine_plugin

Spine plugin for construct 3
MIT License
24 stars 8 forks source link

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

Open MikalDev opened 3 years ago

MikalDev commented 3 years ago

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.