mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-07 19:26:54 +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);
|
renderer.draw(batch, skeleton);
|
||||||
batch.end();
|
batch.end();
|
||||||
|
|
||||||
|
debugRenderer.setScale(camera.zoom);
|
||||||
debugRenderer.setBones(ui.debugBonesCheckbox.isChecked());
|
debugRenderer.setBones(ui.debugBonesCheckbox.isChecked());
|
||||||
debugRenderer.setRegionAttachments(ui.debugRegionsCheckbox.isChecked());
|
debugRenderer.setRegionAttachments(ui.debugRegionsCheckbox.isChecked());
|
||||||
debugRenderer.setBoundingBoxes(ui.debugBoundingBoxesCheckbox.isChecked());
|
debugRenderer.setBoundingBoxes(ui.debugBoundingBoxesCheckbox.isChecked());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user