Files
workinf_Blender_Wasm/blender-5.2.0/source
mes123456 c6004fe6fe
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
fix(web): make edit-mode element transforms work and reach the edit mesh
two real defects blocked the INDIVIDUAL_ORIGINS path:
- element modal targets carried the mesh data id in their objectId while the
  pointer handler resolves nodes by node id, so every pointer move bailed out
  and the modal committed an identity transform; element targets now carry the
  owning node id like object targets do.
- the native element transform commands wrote only the Mesh datablock, so edit
  mode kept its geometry in the BMesh and native operators read stale vertices;
  the translate/transform/group commands now mirror the same indices and matrix
  into the edit BMesh and refresh its normals.

headed verification on a two-island mesh (centroids [0,0,0] and
[-0.25,-0.25,0]) rotated by 0.125 rad about Z: both island centroids stay
fixed while their vertices rotate about their own centres (island 1 sample
(-1,-1,-1) -> (-0.8675,-1.1169,-1), island 2 (-1.25,-1.25,-1) ->
(-1.1175,-1.3669,-1)), and the edit BMesh matches the Mesh datablock.
wasm 4f68e7da57248cbae70a6740b27c01cd24369dfca1a056faa7745f1f93505687.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-06 18:50:36 +08:00
..