mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fixed non-packed sprite attachment issue
This commit is contained in:
parent
fcf90be386
commit
abdd68ba02
@ -54,7 +54,7 @@ public class SpriteAttachmentLoader : AttachmentLoader {
|
|||||||
|
|
||||||
public SpriteAttachmentLoader (Sprite sprite, Shader shader) {
|
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!");
|
Debug.LogError("Tight Packer Policy not supported yet!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user