Skip to content

Commit

Permalink
[csharp] Added missing default initialization of scaleX and scaleY pa…
Browse files Browse the repository at this point in the history
…rameters which caused incorrectly placed bones with PathConstraints in some cases. Fixes #1222
  • Loading branch information
HaraldCsaszar committed Dec 15, 2018
1 parent b7bfb28 commit 651416c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine-csharp/src/Skeleton.cs
Expand Up @@ -45,7 +45,7 @@ public class Skeleton {
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; } }
Expand Down

0 comments on commit 651416c

Please sign in to comment.