mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[csharp] Fixed bezier json curve out of bounds array access. Closes #1921.
This commit is contained in:
parent
6d9e3e7e19
commit
8a47f548a3
@ -1110,7 +1110,7 @@ namespace Spine {
|
|||||||
string curveString = curve as string;
|
string curveString = curve as string;
|
||||||
if (curveString != null) {
|
if (curveString != null) {
|
||||||
if (curveString == "stepped") timeline.SetStepped(frame);
|
if (curveString == "stepped") timeline.SetStepped(frame);
|
||||||
return bezier + 1;
|
return bezier;
|
||||||
}
|
}
|
||||||
var curveValues = (List<object>)curve;
|
var curveValues = (List<object>)curve;
|
||||||
int i = value << 2;
|
int i = value << 2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user