mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Updated error message.
This commit is contained in:
parent
c5bdb62386
commit
1e7f6277c2
@ -64,7 +64,7 @@ public class AtlasAttachmentLoader implements AttachmentLoader {
|
||||
public WeightedMeshAttachment newWeightedMeshAttachment (Skin skin, String name, String path) {
|
||||
AtlasRegion region = atlas.findRegion(path);
|
||||
if (region == null)
|
||||
throw new RuntimeException("Region not found in atlas: " + path + " (skinned mesh attachment: " + name + ")");
|
||||
throw new RuntimeException("Region not found in atlas: " + path + " (weighted mesh attachment: " + name + ")");
|
||||
WeightedMeshAttachment attachment = new WeightedMeshAttachment(name);
|
||||
attachment.setRegion(region);
|
||||
return attachment;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user