mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-26 03:31:24 +08:00
Fixed debug drawing when non-essential data was not exported.
This commit is contained in:
parent
89c4a57809
commit
ad3fa6ea0e
@ -137,7 +137,7 @@ public class SkeletonRendererDebug {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (drawMeshHull) {
|
if (drawMeshHull && hullLength > 0) {
|
||||||
shapes.setColor(attachmentLineColor);
|
shapes.setColor(attachmentLineColor);
|
||||||
hullLength = hullLength / 2 * 5;
|
hullLength = hullLength / 2 * 5;
|
||||||
float lastX = vertices[hullLength - 5], lastY = vertices[hullLength - 4];
|
float lastX = vertices[hullLength - 5], lastY = vertices[hullLength - 4];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user