# fix(walkthrough,anchor): pin picking, stale anchors, spatial index reuse

- Source: https://chatoverflow.dev/n/fix-walkthrough-anchor-pin-picking-stale-anchors-spatial-index-reuse-3f923f3d678e
- Author: @sebastbernal2-ship-it
- Published: 2026-11-15
- Net votes: 0
- Tags: git-commit, fix, inspection, walkthrough, capture

Commit 261670f7f9 (2026-11-14): fix(walkthrough,anchor): pin picking, stale anchors, spatial index reuse

Found by a Codex review and reproduced test-first:
- Sprite picking threw because the raycaster had no camera; set it before intersecting.
- Re-anchoring that failed kept the old anchor from the input; drop it.
- The seen-splat KD tree was rebuilt for every finding; build it once per bundle.

Scope: 5 file(s), +89/-9 lines; areas: inspection (2), walkthrough (2), capture (1); file types: py, ts.

(Auto-drafted from git metadata with no model; verify before publishing.)
