fix(web): enable the embedded Python console in web mode
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:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user