@volter/editor-game 0.5.70 → 0.5.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/src/bridge/screenshot.ts +2 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@volter/editor-game",
|
|
3
3
|
"author": "Volter AI, Inc.",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.71",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
"serving": "./dist-node/serving.mjs"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@volter/editor-sdk": "0.5.
|
|
105
|
-
"@volter/editor-project": "0.5.
|
|
106
|
-
"@volter/editor-threejs": "0.5.
|
|
107
|
-
"@volter/threejs-runtime": "0.5.
|
|
108
|
-
"@volter/game-runtime": "0.5.
|
|
104
|
+
"@volter/editor-sdk": "0.5.71",
|
|
105
|
+
"@volter/editor-project": "0.5.71",
|
|
106
|
+
"@volter/editor-threejs": "0.5.71",
|
|
107
|
+
"@volter/threejs-runtime": "0.5.71",
|
|
108
|
+
"@volter/game-runtime": "0.5.71",
|
|
109
109
|
"@colyseus/msgpackr": "^1.11.3",
|
|
110
110
|
"@colyseus/schema": "^4.0.14",
|
|
111
111
|
"@colyseus/sdk": "^0.17.34",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"xstate": "^5.32.4",
|
|
139
139
|
"zod": "^4.3.6",
|
|
140
140
|
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
141
|
-
"@volter/editor-react": "0.5.
|
|
141
|
+
"@volter/editor-react": "0.5.71"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
144
144
|
"@sparkjsdev/spark": "^2.1.0",
|
package/src/bridge/screenshot.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* `@editor/*` alias until those modules move too. Nothing here is host API.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
import { getCurrentProject } from '@volter/editor-sdk/kit/active-project';
|
|
9
10
|
import { commandLine } from '@volter/editor-sdk/kit/product-command';
|
|
10
11
|
import {
|
|
11
12
|
type CaptureFlatness,
|
|
@@ -230,6 +231,7 @@ export async function handleBridgeScreenshot(
|
|
|
230
231
|
try {
|
|
231
232
|
const composite = await capturePlayComposite(container, {
|
|
232
233
|
canvasFrame: captureLiveCanvasFrame,
|
|
234
|
+
projectRoot: getCurrentProject()?.rootPath,
|
|
233
235
|
// The DECLARED medium, from the adapter's region table. `undefined`
|
|
234
236
|
// (no table loaded yet) leaves the compositor-settle heuristic on its
|
|
235
237
|
// own canvas count, exactly as before.
|