mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[phaser] Fix PMA parsing.
This commit is contained in:
parent
6d4cf1433e
commit
4c3e3178bc
@ -340,7 +340,7 @@ class SpineAtlasFile extends Phaser.Loader.MultiFile {
|
|||||||
} else {
|
} else {
|
||||||
file.data = {
|
file.data = {
|
||||||
data: file.data,
|
data: file.data,
|
||||||
premultipliedAlpha: this.premultipliedAlpha || file.data.indexOf("pma: true") >= 0
|
premultipliedAlpha: this.premultipliedAlpha || file.data.indexOf("pma: true") >= 0 || file.data.indexOf("pma:true") >= 0
|
||||||
};
|
};
|
||||||
file.addToCache();
|
file.addToCache();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user