mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
Merge pull request #385 from Fenrisul/master
Fixed non-packed sprite attachment issue
This commit is contained in:
commit
dfa6c383df
@ -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