[Mnemosyne] Fix entity resolution lines wiring (#1167) #1214
Reference in New Issue
Block a user
Delete Branch "fix/entity-resolution-lines-wiring"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1167
Problem
Entity resolution lines were drawn on
placeMemory()but never updated with LOD culling or distance fade. Root cause:setCamera()was defined inspatial-memory.jsbut not exported and never called fromapp.js.Without camera reference,
_updateEntityLines()immediately returns at line 432 (if (!_camera) return), so all entity lines stay at full opacity regardless of camera distance.Fix
nexus/components/spatial-memory.js— AddedsetCamerato the module's export blockapp.js— AddedSpatialMemory.setCamera(camera)afterSpatialMemory.init(scene)to pass camera referenceResult