Skip to content

Commit

Permalink
[runtime] Revert changes to owl-pro.spine
Browse files Browse the repository at this point in the history
Conversion to 4.0.31 and export breaks additive blending even more.
  • Loading branch information
badlogic committed Sep 13, 2021
1 parent 67c0d39 commit c41cc94
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 73 deletions.
13 changes: 1 addition & 12 deletions examples/owl/export/owl-pro.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"skeleton": {
"hash": "5OTv2PhCedw",
"hash": "D48YMP6TYgI",
"spine": "4.0.31",
"x": -644,
"y": -274,
Expand Down Expand Up @@ -696,17 +696,6 @@
{ "time": 6, "value": -4.1 },
{ "time": 6.6667 }
]
},
"control": {
"rotate": [
{}
],
"translate": [
{}
],
"scale": [
{}
]
}
}
},
Expand Down
Binary file modified examples/owl/export/owl-pro.skel
Binary file not shown.
Binary file modified examples/owl/owl-pro.spine
Binary file not shown.
2 changes: 1 addition & 1 deletion spine-cpp/spine-cpp/src/spine/Skeleton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ void Skeleton::setSkin(Skin *newSkin) {
}

Attachment *Skeleton::getAttachment(const String &slotName, const String &attachmentName) {
return getAttachment(_data->findSlot(slotName)->index, attachmentName);
return getAttachment(_data->findSlot(slotName)->getIndex(), attachmentName);
}

Attachment *Skeleton::getAttachment(int slotIndex, const String &attachmentName) {
Expand Down
13 changes: 1 addition & 12 deletions spine-sfml/c/data/owl-pro.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"skeleton": {
"hash": "5OTv2PhCedw",
"hash": "D48YMP6TYgI",
"spine": "4.0.31",
"x": -644,
"y": -274,
Expand Down Expand Up @@ -696,17 +696,6 @@
{ "time": 6, "value": -4.1 },
{ "time": 6.6667 }
]
},
"control": {
"rotate": [
{}
],
"translate": [
{}
],
"scale": [
{}
]
}
}
},
Expand Down
Binary file modified spine-sfml/c/data/owl-pro.skel
Binary file not shown.
13 changes: 1 addition & 12 deletions spine-sfml/cpp/data/owl-pro.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"skeleton": {
"hash": "5OTv2PhCedw",
"hash": "D48YMP6TYgI",
"spine": "4.0.31",
"x": -644,
"y": -274,
Expand Down Expand Up @@ -696,17 +696,6 @@
{ "time": 6, "value": -4.1 },
{ "time": 6.6667 }
]
},
"control": {
"rotate": [
{}
],
"translate": [
{}
],
"scale": [
{}
]
}
}
},
Expand Down
Binary file modified spine-sfml/cpp/data/owl-pro.skel
Binary file not shown.
13 changes: 1 addition & 12 deletions spine-solar2d/data/owl-pro.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"skeleton": {
"hash": "5OTv2PhCedw",
"hash": "D48YMP6TYgI",
"spine": "4.0.31",
"x": -644,
"y": -274,
Expand Down Expand Up @@ -696,17 +696,6 @@
{ "time": 6, "value": -4.1 },
{ "time": 6.6667 }
]
},
"control": {
"rotate": [
{}
],
"translate": [
{}
],
"scale": [
{}
]
}
}
},
Expand Down
13 changes: 1 addition & 12 deletions spine-starling/spine-starling-example/src/owl-pro.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"skeleton": {
"hash": "5OTv2PhCedw",
"hash": "D48YMP6TYgI",
"spine": "4.0.31",
"x": -644,
"y": -274,
Expand Down Expand Up @@ -696,17 +696,6 @@
{ "time": 6, "value": -4.1 },
{ "time": 6.6667 }
]
},
"control": {
"rotate": [
{}
],
"translate": [
{}
],
"scale": [
{}
]
}
}
},
Expand Down
13 changes: 1 addition & 12 deletions spine-ts/spine-webgl/example/assets/owl-pro.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"skeleton": {
"hash": "5OTv2PhCedw",
"hash": "D48YMP6TYgI",
"spine": "4.0.31",
"x": -644,
"y": -274,
Expand Down Expand Up @@ -696,17 +696,6 @@
{ "time": 6, "value": -4.1 },
{ "time": 6.6667 }
]
},
"control": {
"rotate": [
{}
],
"translate": [
{}
],
"scale": [
{}
]
}
}
},
Expand Down
Binary file modified spine-ts/spine-webgl/example/assets/owl-pro.skel
Binary file not shown.

0 comments on commit c41cc94

Please sign in to comment.