I just found a strange fact that while I export my spine file and select uWrap and vWrap both "ClampToEdge", the "repeat" field in the *.atlas file is "repeat : none",but when I load the atlas file and debug into Atlas.c,I found the uWrap and vWrap values are both SP_ATLAS_MIRROREDREPEAT.
And, if the "repeat" field is "repeat:xy", I think it means uWrap and vWrap values should both be SP_ATLAS_REPEAT, but the program can only set uWrap to SP_ATLAS_REPEAT, and vWrap is just be skipped (see the code below).
So I think may be there's something wrong with the code in Atlas.c but not sure, anyone can make any explanation?
if (!equals(&str, "none")) {
page->uWrap = SP_ATLAS_CLAMPTOEDGE;
page->vWrap = SP_ATLAS_CLAMPTOEDGE;
if (*str.begin == 'x')
page->uWrap = SP_ATLAS_REPEAT;
else if (*str.begin == 'y')
page->vWrap = SP_ATLAS_REPEAT;
else
page->uWrap = page->vWrap = SP_ATLAS_REPEAT;
}