From 8c47b66dc0c6ea3ddcc2b886aeb26ca624b1f069 Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Sat, 15 Dec 2018 22:02:18 +0100 Subject: [PATCH] [csharp] Added missing default initialization of scaleX and scaleY parameters which caused incorrectly placed bones with PathConstraints in some cases. Fixes #1222 (cherry picked from commit 651416c620f13beb4ecf98de0a62c1466bc2afaf) --- spine-csharp/src/Skeleton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-csharp/src/Skeleton.cs b/spine-csharp/src/Skeleton.cs index 70f776c39..601fb71ff 100644 --- a/spine-csharp/src/Skeleton.cs +++ b/spine-csharp/src/Skeleton.cs @@ -45,7 +45,7 @@ namespace Spine { internal Skin skin; internal float r = 1, g = 1, b = 1, a = 1; internal float time; - internal float scaleX, scaleY; + internal float scaleX = 1, scaleY = 1; internal float x, y; public SkeletonData Data { get { return data; } }