- Offscreen worker backend publishes the camera probe, so the G/R/S modal's pointer basis, transform gizmo and wireframe work on both renderers. - Edit-mode INDIVIDUAL_ORIGINS pivots every connected island on its own centre, committed as one grouped transaction (T(P)·R·S·T(-P) in object space). - Gizmo hits carry the pivot index; orthographic views size the axes from the visible world height instead of the 45° fov fallback. - View-menu navigation no longer switches workspace when a viewport is already on screen (the engine workspace transaction dropped the editor out of Edit). - Modal commits queue behind the shared command tail, so a trailing editEditorContext cannot consume the user's first Ctrl+Z. - Floating sidebar rotation field confirmed in degrees; headed cases for the offscreen path, per-island pivots and the sidebar unit, plus receipts/docs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
14 lines
1.1 KiB
TypeScript
14 lines
1.1 KiB
TypeScript
import base from './playwright.config';
|
|
import path from 'node:path';
|
|
/* Default to the freshly built app so a bare `npx playwright test -c` targets the
|
|
* current sources; frozen candidates stay available through the env override. */
|
|
const candidate = process.env.WBV2_PRODUCTION_CANDIDATE ?? path.resolve(import.meta.dirname, 'dist');
|
|
const port = Number(process.env.WEB_TEST_PORT ?? 5309);
|
|
const jsonOutput = process.env.PLAYWRIGHT_JSON_OUTPUT_FILE;
|
|
export default { ...base, testMatch: ['viewport-navigation-*-production.spec.ts'], timeout: 300_000,
|
|
...(jsonOutput ? { reporter: [...(Array.isArray(base.reporter) ? base.reporter : []), ['json', { outputFile: jsonOutput }] as const] } : {}),
|
|
use: { ...base.use, baseURL: `http://127.0.0.1:${port}`, viewport: { width: 1440, height: 900 },
|
|
headless: process.env.WEB_TEST_HEADLESS === '1' ? true : base.use?.headless },
|
|
webServer: { command: `BLENDER_WEB_HTTP_PORT=${port} node ../tools/web/deployment-http-server.mjs '${candidate}'`, url: `http://127.0.0.1:${port}`, reuseExistingServer: false, timeout: 30_000 },
|
|
};
|