Hi,
I use Cocos2d to test an official example of goblins-mesh in runtime.
The code like this:
auto sknode = spine::SkeletonAnimation::createWithFile( "goblins-mesh.json", "goblins-mesh.atlas", 1 );
It will be an error on runtime.
I look at the SkeletonJson.c and find this code:
else if (strcmp(typeString, "skinnedmesh") == 0)
But I changed the
"type": "weightedmesh"
to
"type": "skinnedmesh"
in JSON, the application can run.
It's right?