add .dispose() for removed three geometry, update wiredge on geometry mutation

This commit is contained in:
Stewart Allen 2025-06-15 16:12:27 -04:00
commit a478f4b34b
4 changed files with 44 additions and 10 deletions

View file

@ -442,6 +442,7 @@ function ui_build() {
div({ class: "menu-items" }, [
menu_item('Bounds', () => { selection.boundsBox({ toggle: true }) }, 'B'),
menu_item('Normals', () => { api.normals() }, 'N'),
hr(),
menu_item('WireEdges', () => { api.wireedges() }, 'W'),
menu_item('WireFaces', () => { api.wireframe() }, [ 'bi-shift', 'W' ]),
hr(),