mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
Fixed binary path.
This commit is contained in:
parent
54ae334637
commit
5ef80af12e
@ -190,7 +190,7 @@ public class SkeletonBinary {
|
||||
switch (AttachmentType.values()[input.readByte()]) {
|
||||
case region:
|
||||
String path = input.readString();
|
||||
if (path.length() == 0) path = name;
|
||||
if (path == null) path = name;
|
||||
RegionAttachment region = attachmentLoader.newRegionAttachment(skin, name, path);
|
||||
if (region == null) return null;
|
||||
region.setX(input.readFloat() * scale);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user