mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[libgdx] Fixed Skeleton Viewer line rendering when zoomed.
This commit is contained in:
parent
2692f4c684
commit
b42daae7f2
@ -291,6 +291,7 @@ public class SkeletonViewer extends ApplicationAdapter {
|
||||
renderer.draw(batch, skeleton);
|
||||
batch.end();
|
||||
|
||||
debugRenderer.setScale(camera.zoom);
|
||||
debugRenderer.setBones(ui.debugBonesCheckbox.isChecked());
|
||||
debugRenderer.setRegionAttachments(ui.debugRegionsCheckbox.isChecked());
|
||||
debugRenderer.setBoundingBoxes(ui.debugBoundingBoxesCheckbox.isChecked());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user