Complete Grease Pencil vertex proximity 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:09:22 -04:00
parent 10640aeb3c
commit f2c49061a6
12 changed files with 195 additions and 35 deletions

View File

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

View File

@@ -0,0 +1,18 @@
# M16-GAP-00071 Status
status: done
task: GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY modifier LOCAL_EXACT slice
updated: 2026-08-20 America/New_York
scope: Grease Pencil VERTEX_WEIGHT_PROXIMITY modifier stack exposure for `object:GreasePencilObject`.
evidence:
- Desktop fixture exposes `Gp Vertex Weight Proximity`; save/reopen is exact.
- WASM/Main exposes `GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY` with type code 76 on the object scene node.
- Malformed Blend input is rejected without mutating Main.
- Generator, npm comparator, and direct comparator exited 0.
knownRisk: Vertex-weight proximity deformation evaluation remains blocked; this slice covers metadata and object-stack transport only.
nextTask: `M16-GAP-00072`

View File

@@ -0,0 +1,37 @@
# M16-GAP-00072: modifier:HOOK LOCAL_EXACT slice
- task: M16-GAP-00072
- parent: M16-GAP-00071
- status: in_progress
- gap: modifier:HOOK
- ownerFamily: MODIFIER
- targetImplementationClass: LOCAL_EXACT
## 目标
Make the same minimal fixture produce observable modifier:HOOK 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-00072-modifier-HOOK.blend`
- Generator: `tools/web/generated/M16-GAP-00072.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-00072.py -- tests/files/web/generated/M16-GAP-00072-modifier-HOOK.blend
npm --prefix web run test:generated-gap -- --task M16-GAP-00072
node tools/web/check-generated-gap.mjs --task M16-GAP-00072
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-00072/`
- Status: `docs/status/M16-GAP-00072.md`
- Manifest: `tests/golden/M16-GAP-00072/manifest.json`
- Handoff: `node tools/web/check-task-context.mjs --task M16-GAP-00072 --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

@@ -1648,7 +1648,7 @@
"gapId": "modifier:GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY",
"ownerFamily": "MODIFIER",
"sourceTask": "M15-01C",
"state": "active",
"state": "completed",
"dependencies": [],
"targetImplementationClass": "LOCAL_EXACT",
"fixture": {
@@ -1671,7 +1671,7 @@
"gapId": "modifier:HOOK",
"ownerFamily": "MODIFIER",
"sourceTask": "M15-01C",
"state": "pending",
"state": "active",
"dependencies": [],
"targetImplementationClass": "LOCAL_EXACT",
"fixture": {
@@ -158734,7 +158734,7 @@
]
}
],
"firstTask": "M16-GAP-00071",
"firstTask": "M16-GAP-00072",
"closureGate": "M15-03E",
"nextTask": "M15-03B"
}

View File

@@ -68,8 +68,8 @@
{"id":"M16-GAP-00068","gapId":"modifier:GREASE_PENCIL_TIME","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
{"id":"M16-GAP-00069","gapId":"modifier:GREASE_PENCIL_TINT","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
{"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":"active","targetImplementationClass":"LOCAL_EXACT"}
{"id":"M16-GAP-00072","gapId":"modifier:HOOK","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","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":"active","targetImplementationClass":"LOCAL_EXACT"}
{"id":"M16-GAP-00073","gapId":"modifier:LAPLACIANDEFORM","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
{"id":"M16-GAP-00074","gapId":"modifier:LAPLACIANSMOOTH","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
{"id":"M16-GAP-00075","gapId":"modifier:LATTICE","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,22 @@
{
"blenderVersion": "5.2.0 LTS",
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00071-modifier-GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY.blend",
"fixtureSha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401",
"modifier": {
"modifier": {
"name": "Gp Vertex Weight Proximity",
"showEditMode": true,
"showOnCage": false,
"showRender": true,
"showViewport": false,
"type": "GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY",
"typeCode": 76
},
"objectId": "object:GreasePencilObject",
"task": "M16-GAP-00071"
},
"operation": "GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY_MODIFIER_DESKTOP",
"saveReopen": "EXACT",
"schemaVersion": 1,
"task": "M16-GAP-00071"
}

View File

@@ -0,0 +1,43 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00071",
"operation": "GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY_MODIFIER_LOCAL_EXACT",
"fixture": {
"path": "tests/files/web/generated/M16-GAP-00071-modifier-GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY.blend",
"sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"
},
"desktop": {
"status": "EXACT",
"report": "tests/golden/M16-GAP-00071/grease-pencil-vertex-weight-proximity-modifier-desktop-report.json",
"saveReopen": "EXACT"
},
"wasm": {
"status": "EXACT",
"objectId": "object:GreasePencilObject",
"modifier": {
"dependsOn": [
"modifier:object:GreasePencilObject:1435285600"
],
"enabled": false,
"evaluationStatus": "BLOCKED",
"name": "Gp Vertex Weight Proximity",
"parameters": {
"flag": 1,
"mode": 6,
"persistentUid": 41013787,
"typeCode": 76
},
"showEditMode": true,
"showOnCage": false,
"showRender": true,
"showViewport": false,
"type": "GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY",
"uuid": "modifier:object:GreasePencilObject:41013787"
}
},
"saveReopen": "EXACT",
"negative": {
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
},
"nextTask": "M16-GAP-00072"
}

View File

@@ -0,0 +1,24 @@
{
"schemaVersion": 1,
"task": "M16-GAP-00071",
"parentTask": "M16-GAP-00070",
"enablingTask": false,
"parityStateChange": true,
"runtime": "BLENDER_5_2_LOCAL_EXACT",
"operation": "GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY_MODIFIER_LOCAL_EXACT",
"status": "done",
"artifacts": {
"parentManifest": {"path": "tests/golden/M16-GAP-00070/manifest.json", "sha256": "5fae5d038ddc45dcd45a7a34d4194d8dd0d3e037cac84a6803ae28a49034ad02"},
"fixture": {"path": "tests/files/web/generated/M16-GAP-00071-modifier-GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY.blend", "sha256": "6e81096d309df5ada76b5bdd7c9b1b3d5399081500939e7e9dc1777c9c720401"},
"generator": {"path": "tools/web/generated/M16-GAP-00071.py", "sha256": "d811aa0a430d7fb4db838627e8e71fa1ec812ec932d894512acf24a2d98ac6dd"},
"desktopChecker": {"path": "tools/web/check-generic-modifier-desktop.py", "sha256": "3a372e870f14c4559ee921aef1fbe086eccd609a0af5917e5b4872468ca22e51"},
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "3f82ae54142cdae93c0d65765b2b8f3b46b8bbbe4c838f3a21365dc86d0e56ed"},
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "58cdbe34c1b5c3bd8b0f8ef5144ae8f1b6af8ff51a336862a9001bff79cec82b"},
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "90fa485cd6cc28d08e8f7ac8433f2e1ee1a88503ed6358d25ffea6f6ad18e5fb"},
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "90fa485cd6cc28d08e8f7ac8433f2e1ee1a88503ed6358d25ffea6f6ad18e5fb"},
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
"desktopReport": {"path": "tests/golden/M16-GAP-00071/grease-pencil-vertex-weight-proximity-modifier-desktop-report.json", "sha256": "bfb4354d4b25894879f6cd15f1f9758eeebc88aef6c45237ffebd16bb670ffdd"},
"webReport": {"path": "tests/golden/M16-GAP-00071/grease-pencil-vertex-weight-proximity-modifier-local-exact-report.json", "sha256": "08a439a692bc167a2dff093527586132b3e1baca4a8d7be4dfd47cfe18a04bd9"}
},
"nextTask": "M16-GAP-00072"
}

View File

@@ -14,30 +14,33 @@
"npm --prefix web run test:generated-gap -- --task M16-GAP-00071",
"node tools/web/check-generated-gap.mjs --task M16-GAP-00071"
],
"inputPaths": [],
"inputPaths": [
"tools/web/generated/M16-GAP-00071.py"
],
"inputSelection": {
"schemaVersion": 1,
"limits": {
"maxFiles": 12,
"evidenceBytes": 8192,
"contextRemainingBytes": 7054,
"contextRemainingTokens": 1762
"contextRemainingBytes": 7058,
"contextRemainingTokens": 1763
},
"source": {
"bytes": 6946,
"tokens": 1738
"bytes": 6942,
"tokens": 1737
},
"selected": [],
"selected": [
{
"path": "tools/web/generated/M16-GAP-00071.py",
"bytes": 535,
"tokens": 134
}
],
"excluded": [
{
"path": "tests/files/web/generated/M16-GAP-00071-modifier-GREASE_PENCIL_VERTEX_WEIGHT_PROXIMITY.blend",
"bytes": null,
"reason": "MISSING_PATH"
},
{
"path": "tools/web/generated/M16-GAP-00071.py",
"bytes": null,
"reason": "MISSING_PATH"
"bytes": 87791,
"reason": "EVIDENCE_BYTE_BUDGET"
},
{
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
@@ -66,9 +69,9 @@
}
],
"totals": {
"files": 0,
"bytes": 0,
"tokens": 0
"files": 1,
"bytes": 535,
"tokens": 134
}
},
"exitCriteria": [
@@ -121,8 +124,8 @@
},
"statusSummary": [
"# M16-GAP-00070 Status",
"status: done ",
"task: GREASE_PENCIL_VERTEX_WEIGHT_ANGLE modifier LOCAL_EXACT slice ",
"status: done",
"task: GREASE_PENCIL_VERTEX_WEIGHT_ANGLE modifier LOCAL_EXACT slice",
"updated: 2026-08-20 America/New_York",
"scope: Grease Pencil VERTEX_WEIGHT_ANGLE modifier stack exposure for `object:GreasePencilObject`.",
"evidence:",
@@ -163,16 +166,16 @@
},
{
"path": "docs/status/M16-GAP-00070.md",
"bytes": 762,
"bytes": 758,
"lines": 19,
"tokens": 191
"tokens": 190
}
],
"sourceTokens": 1738,
"evidenceFiles": 0,
"evidenceBytes": 0,
"evidenceTokens": 0,
"totalTokens": 1738,
"sourceTokens": 1737,
"evidenceFiles": 1,
"evidenceBytes": 535,
"evidenceTokens": 134,
"totalTokens": 1871,
"withinBudget": true
}
}

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env python3
import pathlib
import sys
import bpy
if __name__ == "__main__":
args = sys.argv[sys.argv.index("--") + 1:]
if len(args) != 1:
raise SystemExit("usage: blender -b --python M16-GAP-00071.py -- OUTPUT")
source = pathlib.Path(__file__).resolve().parents[3] / "tests/files/web/modifier_grease_pencil_scene.blend"
bpy.ops.wm.open_mainfile(filepath=str(source), load_ui=False)
bpy.ops.wm.save_as_mainfile(filepath=str(pathlib.Path(args[0]).resolve()), check_existing=False, compress=True)