Fixed non-packed sprite attachment issue

This commit is contained in:
Fenrisul 2015-03-13 22:44:14 -07:00
parent fcf90be386
commit abdd68ba02

View File

@ -54,7 +54,7 @@ public class SpriteAttachmentLoader : AttachmentLoader {
public SpriteAttachmentLoader (Sprite sprite, Shader shader) {
if (sprite.packingMode == SpritePackingMode.Tight) {
if (sprite.packed && sprite.packingMode == SpritePackingMode.Tight) {
Debug.LogError("Tight Packer Policy not supported yet!");
return;
}