mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Removed old attachment types.
This commit is contained in:
parent
ebab0c6ca7
commit
a9a771ba1c
@ -298,11 +298,6 @@ public class SkeletonJson {
|
||||
|
||||
String type = map.getString("type", AttachmentType.region.name());
|
||||
|
||||
// BOZO - Warning: These types are deprecated and will be removed in the near future.
|
||||
if (type.equals("skinnedmesh")) type = "weightedmesh";
|
||||
if (type.equals("weightedmesh")) type = "mesh";
|
||||
if (type.equals("weightedlinkedmesh")) type = "linkedmesh";
|
||||
|
||||
switch (AttachmentType.valueOf(type)) {
|
||||
case region: {
|
||||
String path = map.getString("path", name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user