Ver código fonte

Merge branch '4.1' into 4.2-beta

Mario Zechner 2 anos atrás
pai
commit
84f5a31026

+ 1 - 0
spine-c/spine-c/src/spine/SkeletonJson.c

@@ -106,6 +106,7 @@ static void toColor2(spColor *color, const char *value, int /*bool*/ hasAlpha) {
 	color->g = toColor(value, 1);
 	color->b = toColor(value, 2);
 	if (hasAlpha) color->a = toColor(value, 3);
+    else color->a =1.0f;
 }
 
 static void

+ 2 - 2
spine-ts/spine-phaser/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@esotericsoftware/spine-phaser",
-  "version": "4.2.10",
+  "version": "4.1.24",
   "description": "The official Spine Runtimes for the Phaser.",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",
@@ -35,4 +35,4 @@
     "@esotericsoftware/spine-canvas": "^4.2.10",
     "phaser": "^3.55.2"
   }
-}
+}