mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[csharp] Port of commit 7bd2f2e: Transform constraint scale is 1 if omitted.
This commit is contained in:
parent
f2d9edd830
commit
4add7da011
@ -297,7 +297,7 @@ namespace Spine {
|
|||||||
}
|
}
|
||||||
to.offset = GetFloat(toEntry, "offset", 0) * toScale;
|
to.offset = GetFloat(toEntry, "offset", 0) * toScale;
|
||||||
to.max = GetFloat(toEntry, "max", 1) * toScale;
|
to.max = GetFloat(toEntry, "max", 1) * toScale;
|
||||||
to.scale = GetFloat(toEntry, "scale") * (toScale / fromScale);
|
to.scale = GetFloat(toEntry, "scale", 1) * (toScale / fromScale);
|
||||||
from.to.Add(to);
|
from.to.Add(to);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "com.esotericsoftware.spine.spine-csharp",
|
"name": "com.esotericsoftware.spine.spine-csharp",
|
||||||
"displayName": "spine-csharp Runtime",
|
"displayName": "spine-csharp Runtime",
|
||||||
"description": "This plugin provides the spine-csharp core runtime.",
|
"description": "This plugin provides the spine-csharp core runtime.",
|
||||||
"version": "4.3.7",
|
"version": "4.3.8",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Esoteric Software",
|
"name": "Esoteric Software",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user