mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-06 10:46:53 +08:00
[libgdx] Fix VS Code launch config for debug-printer
This commit is contained in:
parent
d973417106
commit
6dffb3ea90
8
spine-libgdx/.vscode/launch.json
vendored
8
spine-libgdx/.vscode/launch.json
vendored
@ -12,6 +12,14 @@
|
|||||||
"${workspaceFolder}/../examples/spineboy/export/spineboy-pma.atlas",
|
"${workspaceFolder}/../examples/spineboy/export/spineboy-pma.atlas",
|
||||||
"run"
|
"run"
|
||||||
],
|
],
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"internalConsoleOptions": "neverOpen",
|
||||||
|
"sourcePaths": [
|
||||||
|
"${workspaceFolder}/spine-libgdx-tests/src",
|
||||||
|
"${workspaceFolder}/spine-libgdx/src",
|
||||||
|
"${workspaceFolder}/../libgdx/gdx/src"
|
||||||
|
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -120,7 +120,6 @@ class DebugPrinter {
|
|||||||
try {
|
try {
|
||||||
// Load atlas
|
// Load atlas
|
||||||
const atlasData = await fs.readFile(atlasPath, 'utf8');
|
const atlasData = await fs.readFile(atlasPath, 'utf8');
|
||||||
const atlasDir = path.dirname(atlasPath);
|
|
||||||
const atlas = new TextureAtlas(atlasData);
|
const atlas = new TextureAtlas(atlasData);
|
||||||
|
|
||||||
// Load skeleton data
|
// Load skeleton data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user