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

@@ -16,6 +16,29 @@ const nodeSockets = (type: string): GeometryNodeSocketIR[] => {
if (type === "FunctionNodeInputVector") return [socket("Vector", "Vector", "OUTPUT", "VECTOR", [0, 0, 0])];
if (type === "ShaderNodeValue") return [socket("Value", "Value", "OUTPUT", "FLOAT", 0)];
if (type === "ShaderNodeMath") return [socket("Value", "Value", "INPUT", "FLOAT", 0), socket("Value_001", "Value", "INPUT", "FLOAT", 0), socket("Value", "Value", "OUTPUT", "FLOAT")];
if (type === "GeometryNodeSubdivisionSurface") return [socket("Geometry", "Geometry", "INPUT", "GEOMETRY"), socket("Level", "Level", "INPUT", "INT"), socket("Render Level", "Render Level", "INPUT", "INT"), socket("Geometry", "Geometry", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeMeshToPoints") return [socket("Mesh", "Mesh", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Position", "Position", "INPUT", "VECTOR"), socket("Radius", "Radius", "INPUT", "FLOAT"), socket("Points", "Points", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodePoints") return [socket("Count", "Count", "INPUT", "INT"), socket("Position", "Position", "INPUT", "VECTOR"), socket("Radius", "Radius", "INPUT", "FLOAT"), socket("Points", "Points", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeInstanceOnPoints") return [socket("Points", "Points", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Instance", "Instance", "INPUT", "GEOMETRY"), socket("Pick Instance", "Pick Instance", "INPUT", "BOOLEAN"), socket("Instance Index", "Instance Index", "INPUT", "INT"), socket("Rotation", "Rotation", "INPUT", "VECTOR"), socket("Scale", "Scale", "INPUT", "VECTOR"), socket("Instances", "Instances", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeMeshCube") return [socket("Size", "Size", "INPUT", "VECTOR"), socket("Vertices X", "Vertices X", "INPUT", "INT"), socket("Vertices Y", "Vertices Y", "INPUT", "INT"), socket("Vertices Z", "Vertices Z", "INPUT", "INT"), socket("Mesh", "Mesh", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeMeshGrid") return [socket("Size X", "Size X", "INPUT", "FLOAT"), socket("Size Y", "Size Y", "INPUT", "FLOAT"), socket("Vertices X", "Vertices X", "INPUT", "INT"), socket("Vertices Y", "Vertices Y", "INPUT", "INT"), socket("Mesh", "Mesh", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeMeshIcoSphere") return [socket("Radius", "Radius", "INPUT", "FLOAT"), socket("Subdivisions", "Subdivisions", "INPUT", "INT"), socket("Mesh", "Mesh", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeMeshUVSphere") return [socket("Segments", "Segments", "INPUT", "INT"), socket("Rings", "Rings", "INPUT", "INT"), socket("Radius", "Radius", "INPUT", "FLOAT"), socket("Mesh", "Mesh", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeMeshCylinder") return [socket("Vertices", "Vertices", "INPUT", "INT"), socket("Side Segments", "Side Segments", "INPUT", "INT"), socket("Radius", "Radius", "INPUT", "FLOAT"), socket("Depth", "Depth", "INPUT", "FLOAT"), socket("Mesh", "Mesh", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeDeleteGeometry") return [socket("Geometry", "Geometry", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Geometry", "Geometry", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeSetShadeSmooth") return [socket("Geometry", "Geometry", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Shade Smooth", "Shade Smooth", "INPUT", "BOOLEAN"), socket("Geometry", "Geometry", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeInputPosition") return [socket("Position", "Position", "OUTPUT", "VECTOR")];
if (type === "GeometryNodeInputIndex") return [socket("Index", "Index", "OUTPUT", "INT")];
if (type === "GeometryNodeInputNormal") return [socket("Normal", "Normal", "OUTPUT", "VECTOR")];
if (type === "GeometryNodeDistributePointsOnFaces") return [socket("Mesh", "Mesh", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Distance Min", "Distance Min", "INPUT", "FLOAT"), socket("Density Max", "Density Max", "INPUT", "FLOAT"), socket("Density Factor", "Density Factor", "INPUT", "FLOAT"), socket("Seed", "Seed", "INPUT", "INT"), socket("Points", "Points", "OUTPUT", "GEOMETRY"), socket("Normal", "Normal", "OUTPUT", "VECTOR"), socket("Rotation", "Rotation", "OUTPUT", "VECTOR")];
if (type === "GeometryNodeTranslateInstances") return [socket("Instances", "Instances", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Translation", "Translation", "INPUT", "VECTOR"), socket("Local Space", "Local Space", "INPUT", "BOOLEAN"), socket("Instances", "Instances", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeRotateInstances") return [socket("Instances", "Instances", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Rotation", "Rotation", "INPUT", "VECTOR"), socket("Local Space", "Local Space", "INPUT", "BOOLEAN"), socket("Instances", "Instances", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeScaleInstances") return [socket("Instances", "Instances", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Scale", "Scale", "INPUT", "VECTOR"), socket("Local Space", "Local Space", "INPUT", "BOOLEAN"), socket("Instances", "Instances", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeCurvePrimitiveCircle") return [socket("Resolution", "Resolution", "INPUT", "INT"), socket("Radius", "Radius", "INPUT", "FLOAT"), socket("Curve", "Curve", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeCurveToMesh") return [socket("Curve", "Curve", "INPUT", "GEOMETRY"), socket("Profile Curve", "Profile Curve", "INPUT", "GEOMETRY"), socket("Fill Caps", "Fill Caps", "INPUT", "BOOLEAN"), socket("Mesh", "Mesh", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeMeshToCurve") return [socket("Mesh", "Mesh", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Curve", "Curve", "OUTPUT", "GEOMETRY")];
if (type === "GeometryNodeExtrudeMesh") return [socket("Mesh", "Mesh", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Offset", "Offset", "INPUT", "VECTOR"), socket("Offset Scale", "Offset Scale", "INPUT", "FLOAT"), socket("Individual", "Individual", "INPUT", "BOOLEAN"), socket("Mesh", "Mesh", "OUTPUT", "GEOMETRY"), socket("Top", "Top", "OUTPUT", "BOOLEAN"), socket("Side", "Side", "OUTPUT", "BOOLEAN")];
if (type === "GeometryNodeTriangulate") return [socket("Mesh", "Mesh", "INPUT", "GEOMETRY"), socket("Selection", "Selection", "INPUT", "BOOLEAN"), socket("Minimum Vertices", "Minimum Vertices", "INPUT", "INT"), socket("Mesh", "Mesh", "OUTPUT", "GEOMETRY")];
return [];
};