add duplication and merging

This commit is contained in:
Stewart Allen 2022-01-11 16:29:54 -05:00
commit f500ee0f5c
4 changed files with 58 additions and 15 deletions

View file

@ -225,7 +225,10 @@ function ui_build() {
h.button({ _: 'gridlines', onclick() { api.grid() } }),
h.button({ _: 'wireframe', onclick() { api.wireframe() } }),
h.div({ class: "vsep" }),
h.button({ _: 'analyze', disabled: true }),
h.button({ _: 'duplicate', onclick: api.selection.duplicate }),
h.button({ _: 'merge', onclick: api.selection.merge }),
h.div({ class: "vsep" }),
h.button({ _: 'analyze', onclick: api.tool.analyze }),
h.button({ _: 'repair', onclick: api.tool.repair }),
]),
]);