chore: checkpoint web Blender feature-gap work, docs and tests
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

- update native web_engine sources and rebuilt wasm artifacts
- add task cards, status notes and tooling scripts
- add web e2e specs, tutorial UI sources and tutorial assets
- sync golden task manifests and audit records

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-11 10:46:55 +08:00
parent f3e21c6b98
commit d1e6b63d54
665 changed files with 59149 additions and 39194 deletions

View File

@@ -60,7 +60,12 @@ struct WebGLObjects {
throw std::runtime_error("Blender WebGL2 drawing requires a live native context");
}
if (owner && owner != current) {
throw std::runtime_error("Blender WebGL2 drawing resource belongs to another canvas");
/* A replaced browser canvas invalidates the old GL names. The CPU bytes
* are retained, so drop the dead names and let bind() re-create and
* re-upload on the current canvas instead of failing the whole surface. */
owner = 0;
buffer = 0;
vao = 0;
}
owner = current;
}