mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[libgdx] Fixed reading JSON with tint black.
This commit is contained in:
parent
af6fba6666
commit
b0fe37e5ed
@ -209,7 +209,7 @@ public class SkeletonJson extends SkeletonLoader {
|
||||
if (color != null) Color.valueOf(color, data.setup.getColor());
|
||||
|
||||
String dark = slotMap.getString("dark", null);
|
||||
if (dark != null) Color.valueOf(dark, data.setup.getDarkColor());
|
||||
if (dark != null) data.setup.darkColor = Color.valueOf(dark);
|
||||
|
||||
data.attachmentName = slotMap.getString("attachment", null);
|
||||
data.blendMode = BlendMode.valueOf(slotMap.getString("blend", BlendMode.normal.name()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user