[c] Json parser was missing parsing of points in skins. See #1168

This commit is contained in:
badlogic 2018-09-05 15:22:08 +02:00
parent 5a73833416
commit 3a1aedc035

View File

@ -891,6 +891,8 @@ spSkeletonData* spSkeletonJson_readSkeletonData (spSkeletonJson* self, const cha
type = SP_ATTACHMENT_PATH;
else if (strcmp(typeString, "clipping") == 0)
type = SP_ATTACHMENT_CLIPPING;
else if (strcmp(typeString, "point") == 0)
type = SP_ATTACHMENT_POINT;
else {
spSkeletonData_dispose(skeletonData);
_spSkeletonJson_setError(self, root, "Unknown attachment type: ", typeString);