deep clone + args, rework/cleanup ui binding, preserve groups on poly re-nest

This commit is contained in:
Stewart Allen 2024-07-30 15:12:02 -04:00
commit 18b6b8567a
8 changed files with 238 additions and 222 deletions

View file

@ -251,7 +251,9 @@ function space_init(data) {
case 'KeyW':
return api.wireframe();
case 'KeyG':
return shiftKey ? api.tool.regroup() : api.grid();
return shiftKey ?
(api.mode.is([ api.modes.sketch ]) ? api.sketch.arrange.group() : api.tool.regroup()) :
api.grid();
case 'KeyL':
return api.log.toggle({ spinner: false });
case 'KeyS':