fix(web): enable the embedded Python console in web mode
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

Remove the leftover localOnly gate and run pasted multi-statement blocks via
exec. Verified version output and a multi-line cube-add snippet updating Main.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-14 10:11:53 +08:00
parent 9d56445f4a
commit 2d6310fbd9
10 changed files with 87 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"task": "WBV2-P1425-001",
"updatedAt": "2026-11-14T09:05:00+08:00",
"updatedAt": "2026-11-14T09:11:00+08:00",
"status": "in_progress",
"focus": "COMPLETE-TUTORIAL-001 backend export gap (USD/Alembic)",
"breakpoint": "blender-5.2.0/source/blender/web_engine/CMakeLists.txt (USD wiring); WASM 6ee2b261",
@@ -272,5 +272,15 @@
"result": "auto-key at frame 1 (9 F-Curves); step to frame 10 via 下一帧; second g → 2 keys per curve at frames [1,10]; Keyframe Editor changed frame-10 location value 0.2→0.5; dope sheet shows 关键帧 1 and 10",
"script": "tools/web/complete/probe-keyframe-edit.mjs",
"acceptance": "NOT_CLAIMED"
},
"pythonConsoleFix": {
"fix": [
"removed the !localOnly gate from embeddedPythonRef.run",
"console compilation falls back to exec for pasted multi-statement blocks"
],
"result": "PROBE_DONE 5.2.0 LTS; multi-line cube add → Objects 7 (Active Cube), SceneIR r3",
"wasmSha256": "8a87449430b6d9b97e02ef3b74b7477c4906c5d2d5c677cfe1ecb5b3bb957cea",
"script": "tools/web/complete/probe-python-console.mjs",
"acceptance": "NOT_CLAIMED"
}
}