chore(web): checkpoint export fixes, operator routing and three-domain evidence

- Web engine CMake: apply WITH_WEB_USD_PYTHON to blender_web_engine_core,
  embed /usd resources, link pxr Python bindings after the core archive and
  whole-archive the monolithic OpenUSD archive. Fixes the wm.usd_export abort
  and restores Alembic/USD embedded export.
- ?ui=web menus: fix inverted localOnly gating and route queueLocalDesktopOperator
  and nativeAdd through the desktop operator channel with a VIEW_3D context;
  non-mesh edit-mode selection uses the native VIEW3D_SELECT bridge.
- Refresh WebEngine wasm/js artifacts, manual/course pages and the complete
  course video asset.
- Record focused Chromium probes for Add/F3/parameters/modifier/UV/curve/deform,
  scene operations, OPFS save/reopen and worker restart. Evidence is NOT_CLAIMED.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-14 06:12:44 +08:00
parent 809b247bc8
commit 4eb08faf31
275 changed files with 104414 additions and 186 deletions

View File

@@ -3,10 +3,10 @@ import { blockedGate, capabilityIssue, readyGate, type CapabilityGateResult } fr
export const SHADER_GRAPH_SCHEMA = 1 as const;
export type ShaderSocketType = "VALUE" | "VECTOR" | "COLOR" | "BOOLEAN" | "SHADER" | "CLOSURE";
export type ShaderNodeType = "RGB" | "VALUE" | "MIX" | "MATH" | "MAPPING" | "TEX_COORD" | "UV_MAP" | "SEPARATE_COLOR" | "OBJECT_INFO" | "IMAGE_TEXTURE" | "NORMAL_MAP" | "BUMP" | "PRINCIPLED" | "MATERIAL_OUTPUT";
export type ShaderNodeType = "RGB" | "VALUE" | "MIX" | "MATH" | "MAPPING" | "TEX_COORD" | "UV_MAP" | "SEPARATE_COLOR" | "OBJECT_INFO" | "IMAGE_TEXTURE" | "NORMAL_MAP" | "BUMP" | "PRINCIPLED" | "MATERIAL_OUTPUT" | "DIFFUSE" | "GLOSSY" | "EMISSION" | "MIX_SHADER" | "ADD_SHADER" | "NOISE" | "GRADIENT" | "CHECKER" | "FRESNEL" | "LAYER_WEIGHT";
export type ShaderSocketValue = boolean | number | string | number[];
export type ShaderNodeEdit =
| {action:'ADD';nodeType:'RGB'|'VALUE'|'MATH'|'MIX'|'MAPPING'|'TEX_COORD'|'UV_MAP'|'SEPARATE_COLOR'|'OBJECT_INFO'|'IMAGE_TEXTURE'|'NORMAL_MAP'|'BUMP'|'PRINCIPLED'|'OUTPUT';location:[number,number]}
| {action:'ADD';nodeType:'RGB'|'VALUE'|'MATH'|'MIX'|'MAPPING'|'TEX_COORD'|'UV_MAP'|'SEPARATE_COLOR'|'OBJECT_INFO'|'IMAGE_TEXTURE'|'NORMAL_MAP'|'BUMP'|'PRINCIPLED'|'OUTPUT'|'DIFFUSE'|'GLOSSY'|'EMISSION'|'MIX_SHADER'|'ADD_SHADER'|'NOISE'|'GRADIENT'|'CHECKER'|'FRESNEL'|'LAYER_WEIGHT';location:[number,number]}
| {action:'MOVE';nodeId:string;location:[number,number]}
| {action:'RENAME';nodeId:string;name:string}
| {action:'REMOVE';nodeId:string}
@@ -87,6 +87,8 @@ function socket(value: unknown, path: string): value is ShaderSocketIR {
const supportedTypes = new Set<ShaderNodeType>([
"RGB", "VALUE", "MIX", "MATH", "MAPPING", "TEX_COORD", "UV_MAP", "SEPARATE_COLOR",
"OBJECT_INFO", "IMAGE_TEXTURE", "NORMAL_MAP", "BUMP", "PRINCIPLED", "MATERIAL_OUTPUT",
"DIFFUSE", "GLOSSY", "EMISSION", "MIX_SHADER", "ADD_SHADER", "NOISE", "GRADIENT",
"CHECKER", "FRESNEL", "LAYER_WEIGHT",
]);
const supportedMathOperations = new Set(["ADD", "SUBTRACT", "MULTIPLY", "DIVIDE", "MINIMUM", "MAXIMUM"]);
const integerInRange = (value: unknown, minimum: number, maximum: number): boolean =>