Quellcode durchsuchen

[runtime] Revert changes to owl-pro.spine

Conversion to 4.0.31 and export breaks additive blending even more.
Mario Zechner vor 3 Jahren
Ursprung
Commit
c41cc94008

+ 1 - 12
examples/owl/export/owl-pro.json

@@ -1,6 +1,6 @@
 {
 "skeleton": {
-	"hash": "5OTv2PhCedw",
+	"hash": "D48YMP6TYgI",
 	"spine": "4.0.31",
 	"x": -644,
 	"y": -274,
@@ -696,17 +696,6 @@
 					{ "time": 6, "value": -4.1 },
 					{ "time": 6.6667 }
 				]
-			},
-			"control": {
-				"rotate": [
-					{}
-				],
-				"translate": [
-					{}
-				],
-				"scale": [
-					{}
-				]
 			}
 		}
 	},

BIN
examples/owl/export/owl-pro.skel


BIN
examples/owl/owl-pro.spine


+ 1 - 1
spine-cpp/spine-cpp/src/spine/Skeleton.cpp

@@ -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) {

+ 1 - 12
spine-sfml/c/data/owl-pro.json

@@ -1,6 +1,6 @@
 {
 "skeleton": {
-	"hash": "5OTv2PhCedw",
+	"hash": "D48YMP6TYgI",
 	"spine": "4.0.31",
 	"x": -644,
 	"y": -274,
@@ -696,17 +696,6 @@
 					{ "time": 6, "value": -4.1 },
 					{ "time": 6.6667 }
 				]
-			},
-			"control": {
-				"rotate": [
-					{}
-				],
-				"translate": [
-					{}
-				],
-				"scale": [
-					{}
-				]
 			}
 		}
 	},

BIN
spine-sfml/c/data/owl-pro.skel


+ 1 - 12
spine-sfml/cpp/data/owl-pro.json

@@ -1,6 +1,6 @@
 {
 "skeleton": {
-	"hash": "5OTv2PhCedw",
+	"hash": "D48YMP6TYgI",
 	"spine": "4.0.31",
 	"x": -644,
 	"y": -274,
@@ -696,17 +696,6 @@
 					{ "time": 6, "value": -4.1 },
 					{ "time": 6.6667 }
 				]
-			},
-			"control": {
-				"rotate": [
-					{}
-				],
-				"translate": [
-					{}
-				],
-				"scale": [
-					{}
-				]
 			}
 		}
 	},

BIN
spine-sfml/cpp/data/owl-pro.skel


+ 1 - 12
spine-solar2d/data/owl-pro.json

@@ -1,6 +1,6 @@
 {
 "skeleton": {
-	"hash": "5OTv2PhCedw",
+	"hash": "D48YMP6TYgI",
 	"spine": "4.0.31",
 	"x": -644,
 	"y": -274,
@@ -696,17 +696,6 @@
 					{ "time": 6, "value": -4.1 },
 					{ "time": 6.6667 }
 				]
-			},
-			"control": {
-				"rotate": [
-					{}
-				],
-				"translate": [
-					{}
-				],
-				"scale": [
-					{}
-				]
 			}
 		}
 	},

+ 1 - 12
spine-starling/spine-starling-example/src/owl-pro.json

@@ -1,6 +1,6 @@
 {
 "skeleton": {
-	"hash": "5OTv2PhCedw",
+	"hash": "D48YMP6TYgI",
 	"spine": "4.0.31",
 	"x": -644,
 	"y": -274,
@@ -696,17 +696,6 @@
 					{ "time": 6, "value": -4.1 },
 					{ "time": 6.6667 }
 				]
-			},
-			"control": {
-				"rotate": [
-					{}
-				],
-				"translate": [
-					{}
-				],
-				"scale": [
-					{}
-				]
 			}
 		}
 	},

+ 1 - 12
spine-ts/spine-webgl/example/assets/owl-pro.json

@@ -1,6 +1,6 @@
 {
 "skeleton": {
-	"hash": "5OTv2PhCedw",
+	"hash": "D48YMP6TYgI",
 	"spine": "4.0.31",
 	"x": -644,
 	"y": -274,
@@ -696,17 +696,6 @@
 					{ "time": 6, "value": -4.1 },
 					{ "time": 6.6667 }
 				]
-			},
-			"control": {
-				"rotate": [
-					{}
-				],
-				"translate": [
-					{}
-				],
-				"scale": [
-					{}
-				]
 			}
 		}
 	},

BIN
spine-ts/spine-webgl/example/assets/owl-pro.skel