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

@ -157,15 +157,15 @@ function space_init(data) {
switch (code) {
case 'KeyD':
if (shiftKey) {
for (let m of selection.models()) {
m.duplicate();
}
return selection.duplicate();
}
break;
case 'KeyC':
return selection.centerXY().focus();
case 'KeyF':
return selection.floor().focus();
case 'KeyM':
return selection.merge();
case 'KeyI':
return api.file.import();
case 'KeyX':