Complete Laplacian deform modifier gap
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

This commit is contained in:
mes123456
2026-08-20 06:18:38 -04:00
parent 2ef2585676
commit 1813cb7d1c
15 changed files with 169 additions and 11 deletions

View File

@@ -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", "LAPLACIAN_DEFORM", "WIREFRAME",
"LAPLACIAN_SMOOTH", "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",

View File

@@ -9,10 +9,10 @@
| 字段 | 值 |
| --- | --- |
| 里程碑 | M16 Main、Mesh、Modifier、Sculpt |
| 当前任务 | `M16-GAP-00073` |
| parent manifest | `tests/golden/M16-GAP-00072/manifest.json` |
| 任务卡 | [`tasks/M16-GAP-00073.md`](tasks/M16-GAP-00073.md) |
| 专项验收 | `npm --prefix web run test:generated-gap -- --task M16-GAP-00073` |
| 当前任务 | `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` |
领取前执行:

View File

@@ -0,0 +1,18 @@
# M16-GAP-00073 Status
status: done
task: LAPLACIANDEFORM modifier LOCAL_EXACT slice
updated: 2026-08-20 America/New_York
scope: Mesh LAPLACIANDEFORM modifier stack exposure for `object:WebGapLaplacianDeformObject`.
evidence:
- Desktop fixture exposes `WebGapLaplacianDeform`; save/reopen is exact.
- Corrected the reader type name to Blender RNA `LAPLACIANDEFORM` and rebuilt WASM.
- Malformed Blend input is rejected without mutating Main.
- Generator and npm comparator exited 0.
knownRisk: Laplacian deformation evaluation remains blocked; this slice covers modifier stack transport and metadata.
nextTask: `M16-GAP-00074`

View File

@@ -0,0 +1,37 @@
# M16-GAP-00074: modifier:LAPLACIANSMOOTH LOCAL_EXACT slice
- task: M16-GAP-00074
- parent: M16-GAP-00073
- status: in_progress
- gap: modifier:LAPLACIANSMOOTH
- ownerFamily: MODIFIER
- targetImplementationClass: LOCAL_EXACT
## 目标
Make the same minimal fixture produce observable modifier:LAPLACIANSMOOTH 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-00074-modifier-LAPLACIANSMOOTH.blend`
- Generator: `tools/web/generated/M16-GAP-00074.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-00074.py -- tests/files/web/generated/M16-GAP-00074-modifier-LAPLACIANSMOOTH.blend
npm --prefix web run test:generated-gap -- --task M16-GAP-00074
node tools/web/check-generated-gap.mjs --task M16-GAP-00074
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-00074/`
- Status: `docs/status/M16-GAP-00074.md`
- Manifest: `tests/golden/M16-GAP-00074/manifest.json`
- Handoff: `node tools/web/check-task-context.mjs --task M16-GAP-00074 --write`
- Rollback: remove this task production entry, fixture, tests, reports, manifest, status, and context; restore the parent as queue tail without rewriting parent evidence.

View File

@@ -1694,7 +1694,7 @@
"gapId": "modifier:LAPLACIANDEFORM",
"ownerFamily": "MODIFIER",
"sourceTask": "M15-01C",
"state": "active",
"state": "completed",
"dependencies": [],
"targetImplementationClass": "LOCAL_EXACT",
"fixture": {
@@ -1717,7 +1717,7 @@
"gapId": "modifier:LAPLACIANSMOOTH",
"ownerFamily": "MODIFIER",
"sourceTask": "M15-01C",
"state": "pending",
"state": "active",
"dependencies": [],
"targetImplementationClass": "LOCAL_EXACT",
"fixture": {
@@ -158734,7 +158734,7 @@
]
}
],
"firstTask": "M16-GAP-00073",
"firstTask": "M16-GAP-00074",
"closureGate": "M15-03E",
"nextTask": "M15-03B"
}

View File

@@ -70,8 +70,8 @@
{"id":"M16-GAP-00070","gapId":"modifier:GREASE_PENCIL_VERTEX_WEIGHT_ANGLE","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
{"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":"active","targetImplementationClass":"LOCAL_EXACT"}
{"id":"M16-GAP-00074","gapId":"modifier:LAPLACIANSMOOTH","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","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-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"}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,23 @@
{
"blenderVersion": "5.2.0 LTS",
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00073-modifier-LAPLACIANDEFORM.blend",
"fixtureSha256": "d4a01fc520b4641442f56506a5a320d4c4efee57fcec779021cc10d17d62e1e0",
"modifier": {
"meshId": "mesh:WebGapLaplacianDeformObjectMesh",
"modifier": {
"name": "WebGapLaplacianDeform",
"showEditMode": false,
"showOnCage": false,
"showRender": true,
"showViewport": true,
"type": "LAPLACIANDEFORM",
"typeCode": 47
},
"objectId": "object:WebGapLaplacianDeformObject",
"task": "M16-GAP-00073"
},
"operation": "LAPLACIANDEFORM_MODIFIER_DESKTOP",
"saveReopen": "EXACT",
"schemaVersion": 1,
"task": "M16-GAP-00073"
}

View File

@@ -0,0 +1,42 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00073",
"operation": "LAPLACIANDEFORM_MODIFIER_LOCAL_EXACT",
"fixture": {
"path": "tests/files/web/generated/M16-GAP-00073-modifier-LAPLACIANDEFORM.blend",
"sha256": "d4a01fc520b4641442f56506a5a320d4c4efee57fcec779021cc10d17d62e1e0"
},
"desktop": {
"status": "EXACT",
"report": "tests/golden/M16-GAP-00073/laplaciandeform-modifier-desktop-report.json",
"saveReopen": "EXACT"
},
"wasm": {
"status": "EXACT",
"objectId": "object:WebGapLaplacianDeformObject",
"meshId": "mesh:WebGapLaplacianDeformObjectMesh",
"modifier": {
"dependsOn": [],
"enabled": true,
"evaluationStatus": "BLOCKED",
"name": "WebGapLaplacianDeform",
"parameters": {
"flag": 5,
"mode": 3,
"persistentUid": 540311675,
"typeCode": 47
},
"showEditMode": false,
"showOnCage": false,
"showRender": true,
"showViewport": true,
"type": "LAPLACIANDEFORM",
"uuid": "modifier:object:WebGapLaplacianDeformObject:540311675"
}
},
"saveReopen": "EXACT",
"negative": {
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
},
"nextTask": "M16-GAP-00074"
}

View File

@@ -0,0 +1,24 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00073",
"parentTask": "M16-GAP-00072",
"enablingTask": false,
"parityStateChange": true,
"runtime": "BLENDER_5_2_LOCAL_EXACT",
"operation": "LAPLACIANDEFORM_MODIFIER_LOCAL_EXACT",
"status": "done",
"artifacts": {
"parentManifest": {"path": "tests/golden/M16-GAP-00072/manifest.json", "sha256": "574f682ccb0d9a56a04955b3cb493a368bf83eafdd85d9ecd4163f7c68bfbf7f"},
"fixture": {"path": "tests/files/web/generated/M16-GAP-00073-modifier-LAPLACIANDEFORM.blend", "sha256": "d4a01fc520b4641442f56506a5a320d4c4efee57fcec779021cc10d17d62e1e0"},
"generator": {"path": "tools/web/generated/M16-GAP-00073.py", "sha256": "ce9be025d573d87c48bd4975f4cee1c343749156d163abe51a04a05e9d951ad5"},
"desktopChecker": {"path": "tools/web/check-generic-modifier-desktop.py", "sha256": "3a372e870f14c4559ee921aef1fbe086eccd609a0af5917e5b4872468ca22e51"},
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "1ee93d0a8b8fdedcbf2dff3f0977e58c6df3b51ca7e99bd90a13dcdedcc5544f"},
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "18a9bc7da9fc34af34047add1ea16edf5151639cec30e0de053787e82926650d"},
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "044fb847f05663f644e3429f9c5d0ff0555f9e8899c3e2d19c925c4fa7546bed"},
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "044fb847f05663f644e3429f9c5d0ff0555f9e8899c3e2d19c925c4fa7546bed"},
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
"desktopReport": {"path": "tests/golden/M16-GAP-00073/laplaciandeform-modifier-desktop-report.json", "sha256": "20b1fa4731e697c539cbeda56daf567a39ea0e4157519480400d3aa0116b5d9c"},
"webReport": {"path": "tests/golden/M16-GAP-00073/laplaciandeform-modifier-local-exact-report.json", "sha256": "4661ab5868a5664206f47bebbc93f6f0cc4dcaab362f45d59540c8900a3c4ca2"}
},
"nextTask": "M16-GAP-00074"
}

View File

@@ -1100,6 +1100,7 @@ const genericModifierTasks = {
"M16-GAP-00070": { type: "GREASE_PENCIL_VERTEX_WEIGHT_ANGLE", stem: "WebGapGreasePencilVertexWeightAngle", objectName: "GreasePencilObject", nextTask: "M16-GAP-00071" },
"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" },
};
if (genericModifierTasks[task]) {
const config = genericModifierTasks[task];

View 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-00073.py -- OUTPUT")
generate(pathlib.Path(arguments[0]), "LAPLACIANDEFORM", "WebGapLaplacianDeform")

Binary file not shown.

Binary file not shown.