I'm working with cocos2dx spine 3.6. I used a spine json file in my game,and the clipping featrue doesn't work.
I noticed that in the c++ file "SkeletonRenderer.cpp" the method ‘spSkeletonClipping_clipEnd’ is called immediately after spSkeletonClipping_clipStart. In fact, the cilp mehods in (SkeletonClipping.c) haven't been called in any cases.
case SP_ATTACHMENT_CLIPPING: {
spClippingAttachment* clip = (spClippingAttachment*)slot->attachment;
spSkeletonClipping_clipStart(_clipper, slot, clip);
}
default:
spSkeletonClipping_clipEnd(_clipper, slot);
continue;
}
is there any problem in my opreating? Does anyone else has the same problem like me?
here is my resource with this problem.