Support TK2D PNG atlases.

This commit is contained in:
NathanSweet 2014-05-22 15:15:18 +02:00
parent 765452ce84
commit 9a7673c68a

View File

@ -97,7 +97,7 @@ public class SpriteCollectionAttachmentLoader : AttachmentLoader {
float y1 = def.boundsData[0].y - def.boundsData[1].y / 2;
regionOffsetY = (int)((y1 - y0) / def.texelSize.y);
material = def.material;
material = def.materialInst;
}
public RegionAttachment NewRegionAttachment (Skin skin, String name, String path) {