chore: checkpoint web Blender feature-gap work, docs and tests
- 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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user