Complete Laplacian smooth modifier gap
This commit is contained in:
@@ -1468,7 +1468,7 @@ std::string modifier_type_name(const int64_t type)
|
||||
"BEVEL", "SHRINKWRAP", "FLUID_SIM", "MASK", "SIMPLE_DEFORM", "MULTIRES",
|
||||
"SURFACE", "UNSUPPORTED_31", "SHAPE_KEY", "SOLIDIFY", "SCREW", "WARP", "WEIGHT_VG_EDIT",
|
||||
"WEIGHT_VG_MIX", "WEIGHT_VG_PROXIMITY", "OCEAN", "DYNAMIC_PAINT", "REMESH", "SKIN",
|
||||
"LAPLACIAN_SMOOTH", "TRIANGULATE", "UV_WARP", "MESH_CACHE", "LAPLACIANDEFORM", "WIREFRAME",
|
||||
"LAPLACIANSMOOTH", "TRIANGULATE", "UV_WARP", "MESH_CACHE", "LAPLACIANDEFORM", "WIREFRAME",
|
||||
"DATA_TRANSFER", "NORMAL_EDIT", "CORRECTIVE_SMOOTH", "MESH_SEQUENCE_CACHE", "SURFACE_DEFORM",
|
||||
"WEIGHTED_NORMAL", "WELD", "FLUID", "NODES", "MESH_TO_VOLUME", "VOLUME_DISPLACE", "VOLUME_TO_MESH",
|
||||
"GREASE_PENCIL_OPACITY", "GREASE_PENCIL_SUBDIV", "GREASE_PENCIL_COLOR", "GREASE_PENCIL_TINT",
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
| 字段 | 值 |
|
||||
| --- | --- |
|
||||
| 里程碑 | M16 Main、Mesh、Modifier、Sculpt |
|
||||
| 当前任务 | `M16-GAP-00074` |
|
||||
| parent manifest | `tests/golden/M16-GAP-00073/manifest.json` |
|
||||
| 任务卡 | [`tasks/M16-GAP-00074.md`](tasks/M16-GAP-00074.md) |
|
||||
| 专项验收 | `npm --prefix web run test:generated-gap -- --task M16-GAP-00074` |
|
||||
| 当前任务 | `M16-GAP-00075` |
|
||||
| parent manifest | `tests/golden/M16-GAP-00074/manifest.json` |
|
||||
| 任务卡 | [`tasks/M16-GAP-00075.md`](tasks/M16-GAP-00075.md) |
|
||||
| 专项验收 | `npm --prefix web run test:generated-gap -- --task M16-GAP-00075` |
|
||||
|
||||
领取前执行:
|
||||
|
||||
|
||||
18
docs/status/M16-GAP-00074.md
Normal file
18
docs/status/M16-GAP-00074.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# M16-GAP-00074 Status
|
||||
|
||||
status: done
|
||||
task: LAPLACIANSMOOTH modifier LOCAL_EXACT slice
|
||||
updated: 2026-08-20 America/New_York
|
||||
|
||||
scope: Mesh LAPLACIANSMOOTH modifier stack exposure for `object:WebGapLaplacianSmoothObject`.
|
||||
|
||||
evidence:
|
||||
|
||||
- Desktop fixture exposes `WebGapLaplacianSmooth`; save/reopen is exact.
|
||||
- Corrected the reader type name to Blender RNA `LAPLACIANSMOOTH` and rebuilt WASM.
|
||||
- Malformed Blend input is rejected without mutating Main.
|
||||
- Generator and npm comparator exited 0.
|
||||
|
||||
knownRisk: Laplacian smoothing evaluation remains blocked; this slice covers modifier stack transport and metadata.
|
||||
|
||||
nextTask: `M16-GAP-00075`
|
||||
37
docs/tasks/M16-GAP-00075.md
Normal file
37
docs/tasks/M16-GAP-00075.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# M16-GAP-00075: modifier:LATTICE LOCAL_EXACT slice
|
||||
|
||||
- task: M16-GAP-00075
|
||||
- parent: M16-GAP-00074
|
||||
- status: in_progress
|
||||
- gap: modifier:LATTICE
|
||||
- ownerFamily: MODIFIER
|
||||
- targetImplementationClass: LOCAL_EXACT
|
||||
|
||||
## 目标
|
||||
|
||||
Make the same minimal fixture produce observable modifier:LATTICE data in Blender desktop and WASM/Main, with save/reopen stability. Change only this gap; do not expand to other data-blocks, editors, or browsers.
|
||||
|
||||
## 输入与范围
|
||||
|
||||
- Fixture: `tests/files/web/generated/M16-GAP-00075-modifier-LATTICE.blend`
|
||||
- Generator: `tools/web/generated/M16-GAP-00075.py`
|
||||
- Production: `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp`
|
||||
- Checker: `tools/web/check-generated-gap.mjs`
|
||||
- Do: field read, desktop/WASM comparison, save/reopen, structured report.
|
||||
- Do not: other gaps, Firefox/WebKit, or full editor behavior.
|
||||
|
||||
## 验收
|
||||
|
||||
build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00075.py -- tests/files/web/generated/M16-GAP-00075-modifier-LATTICE.blend
|
||||
npm --prefix web run test:generated-gap -- --task M16-GAP-00075
|
||||
node tools/web/check-generated-gap.mjs --task M16-GAP-00075
|
||||
|
||||
Malformed/unsupported, cancellation, duplicate, over-budget, or hash-drift cases must keep in_progress; they must not change Main revision or advance nextTask.
|
||||
|
||||
## 交付与回滚
|
||||
|
||||
- Reports: `tests/golden/M16-GAP-00075/`
|
||||
- Status: `docs/status/M16-GAP-00075.md`
|
||||
- Manifest: `tests/golden/M16-GAP-00075/manifest.json`
|
||||
- Handoff: `node tools/web/check-task-context.mjs --task M16-GAP-00075 --write`
|
||||
- Rollback: remove this task production entry, fixture, tests, reports, manifest, status, and context; restore the parent as queue tail without rewriting parent evidence.
|
||||
Binary file not shown.
@@ -1717,7 +1717,7 @@
|
||||
"gapId": "modifier:LAPLACIANSMOOTH",
|
||||
"ownerFamily": "MODIFIER",
|
||||
"sourceTask": "M15-01C",
|
||||
"state": "active",
|
||||
"state": "completed",
|
||||
"dependencies": [],
|
||||
"targetImplementationClass": "LOCAL_EXACT",
|
||||
"fixture": {
|
||||
@@ -1740,7 +1740,7 @@
|
||||
"gapId": "modifier:LATTICE",
|
||||
"ownerFamily": "MODIFIER",
|
||||
"sourceTask": "M15-01C",
|
||||
"state": "pending",
|
||||
"state": "active",
|
||||
"dependencies": [],
|
||||
"targetImplementationClass": "LOCAL_EXACT",
|
||||
"fixture": {
|
||||
@@ -158734,7 +158734,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"firstTask": "M16-GAP-00074",
|
||||
"firstTask": "M16-GAP-00075",
|
||||
"closureGate": "M15-03E",
|
||||
"nextTask": "M15-03B"
|
||||
}
|
||||
|
||||
@@ -71,8 +71,8 @@
|
||||
{"id":"M16-GAP-00071","gapId":"modifier:GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
||||
{"id":"M16-GAP-00072","gapId":"modifier:HOOK","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
||||
{"id":"M16-GAP-00073","gapId":"modifier:LAPLACIANDEFORM","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
||||
{"id":"M16-GAP-00074","gapId":"modifier:LAPLACIANSMOOTH","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"active","targetImplementationClass":"LOCAL_EXACT"}
|
||||
{"id":"M16-GAP-00075","gapId":"modifier:LATTICE","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
||||
{"id":"M16-GAP-00074","gapId":"modifier:LAPLACIANSMOOTH","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
||||
{"id":"M16-GAP-00075","gapId":"modifier:LATTICE","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"active","targetImplementationClass":"LOCAL_EXACT"}
|
||||
{"id":"M16-GAP-00076","gapId":"modifier:LINEART","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
||||
{"id":"M16-GAP-00077","gapId":"modifier:MASK","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
||||
{"id":"M16-GAP-00078","gapId":"modifier:MESH_CACHE","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"blenderVersion": "5.2.0 LTS",
|
||||
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00074-modifier-LAPLACIANSMOOTH.blend",
|
||||
"fixtureSha256": "0f1ff155e600a04f0a717584716ae1ca5811ed9642354494a26c2a8d90590b99",
|
||||
"modifier": {
|
||||
"meshId": "mesh:WebGapLaplacianSmoothObjectMesh",
|
||||
"modifier": {
|
||||
"name": "WebGapLaplacianSmooth",
|
||||
"showEditMode": false,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": true,
|
||||
"type": "LAPLACIANSMOOTH",
|
||||
"typeCode": 43
|
||||
},
|
||||
"objectId": "object:WebGapLaplacianSmoothObject",
|
||||
"task": "M16-GAP-00074"
|
||||
},
|
||||
"operation": "LAPLACIANSMOOTH_MODIFIER_DESKTOP",
|
||||
"saveReopen": "EXACT",
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00074"
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00074",
|
||||
"operation": "LAPLACIANSMOOTH_MODIFIER_LOCAL_EXACT",
|
||||
"fixture": {
|
||||
"path": "tests/files/web/generated/M16-GAP-00074-modifier-LAPLACIANSMOOTH.blend",
|
||||
"sha256": "0f1ff155e600a04f0a717584716ae1ca5811ed9642354494a26c2a8d90590b99"
|
||||
},
|
||||
"desktop": {
|
||||
"status": "EXACT",
|
||||
"report": "tests/golden/M16-GAP-00074/laplaciansmooth-modifier-desktop-report.json",
|
||||
"saveReopen": "EXACT"
|
||||
},
|
||||
"wasm": {
|
||||
"status": "EXACT",
|
||||
"objectId": "object:WebGapLaplacianSmoothObject",
|
||||
"meshId": "mesh:WebGapLaplacianSmoothObjectMesh",
|
||||
"modifier": {
|
||||
"dependsOn": [],
|
||||
"enabled": true,
|
||||
"evaluationStatus": "BLOCKED",
|
||||
"name": "WebGapLaplacianSmooth",
|
||||
"parameters": {
|
||||
"flag": 5,
|
||||
"mode": 3,
|
||||
"persistentUid": 333350440,
|
||||
"typeCode": 43
|
||||
},
|
||||
"showEditMode": false,
|
||||
"showOnCage": false,
|
||||
"showRender": true,
|
||||
"showViewport": true,
|
||||
"type": "LAPLACIANSMOOTH",
|
||||
"uuid": "modifier:object:WebGapLaplacianSmoothObject:333350440"
|
||||
}
|
||||
},
|
||||
"saveReopen": "EXACT",
|
||||
"negative": {
|
||||
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||
},
|
||||
"nextTask": "M16-GAP-00075"
|
||||
}
|
||||
24
tests/golden/M16-GAP-00074/manifest.json
Normal file
24
tests/golden/M16-GAP-00074/manifest.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M16-GAP-00074",
|
||||
"parentTask": "M16-GAP-00073",
|
||||
"enablingTask": false,
|
||||
"parityStateChange": true,
|
||||
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||
"operation": "LAPLACIANSMOOTH_MODIFIER_LOCAL_EXACT",
|
||||
"status": "done",
|
||||
"artifacts": {
|
||||
"parentManifest": {"path": "tests/golden/M16-GAP-00073/manifest.json", "sha256": "898c103c060209a2faaef4d07123b1dc9d654ed7bfba98c43a5b97c3b6571292"},
|
||||
"fixture": {"path": "tests/files/web/generated/M16-GAP-00074-modifier-LAPLACIANSMOOTH.blend", "sha256": "0f1ff155e600a04f0a717584716ae1ca5811ed9642354494a26c2a8d90590b99"},
|
||||
"generator": {"path": "tools/web/generated/M16-GAP-00074.py", "sha256": "c4d29eb33cf3abbca68333cf064e634a6202889170f20eb0d47868cacbd47cc7"},
|
||||
"desktopChecker": {"path": "tools/web/check-generic-modifier-desktop.py", "sha256": "3a372e870f14c4559ee921aef1fbe086eccd609a0af5917e5b4872468ca22e51"},
|
||||
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "bf521a6f9e64c1f50e7238179b9ed8d94e955a21131a8566f75a0e3c81fd9789"},
|
||||
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "db4807b05b0c71658115e321712b9b46cbd3bf814c96a56d3c0766f97fe98f7e"},
|
||||
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "a1c778de8f065de2a54ee300deeff142f4a60629d57b61cbe8d46c8cc8a1fe2c"},
|
||||
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "a1c778de8f065de2a54ee300deeff142f4a60629d57b61cbe8d46c8cc8a1fe2c"},
|
||||
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
|
||||
"desktopReport": {"path": "tests/golden/M16-GAP-00074/laplaciansmooth-modifier-desktop-report.json", "sha256": "9aa6928bb41744895ec5d471a3c290d5880d75357f556c310f692dfbf0c587a6"},
|
||||
"webReport": {"path": "tests/golden/M16-GAP-00074/laplaciansmooth-modifier-local-exact-report.json", "sha256": "0ae4447208034f80469647e51469225032cb0e8f40b6e887d2aa66888d8b9d65"}
|
||||
},
|
||||
"nextTask": "M16-GAP-00075"
|
||||
}
|
||||
@@ -1101,6 +1101,7 @@ const genericModifierTasks = {
|
||||
"M16-GAP-00071": { type: "GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY", stem: "WebGapGreasePencilVertexWeightProximity", objectName: "GreasePencilObject", nextTask: "M16-GAP-00072" },
|
||||
"M16-GAP-00072": { type: "HOOK", stem: "WebGapHook", nextTask: "M16-GAP-00073" },
|
||||
"M16-GAP-00073": { type: "LAPLACIANDEFORM", stem: "WebGapLaplacianDeform", nextTask: "M16-GAP-00074" },
|
||||
"M16-GAP-00074": { type: "LAPLACIANSMOOTH", stem: "WebGapLaplacianSmooth", nextTask: "M16-GAP-00075" },
|
||||
};
|
||||
if (genericModifierTasks[task]) {
|
||||
const config = genericModifierTasks[task];
|
||||
|
||||
13
tools/web/generated/M16-GAP-00074.py
Normal file
13
tools/web/generated/M16-GAP-00074.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
import pathlib
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parent))
|
||||
from modifier_gap_fixture import generate
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
arguments = sys.argv[sys.argv.index("--") + 1:]
|
||||
if len(arguments) != 1:
|
||||
raise SystemExit("usage: blender -b --python M16-GAP-00074.py -- OUTPUT")
|
||||
generate(pathlib.Path(arguments[0]), "LAPLACIANSMOOTH", "WebGapLaplacianSmooth")
|
||||
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
Reference in New Issue
Block a user