more modular functionality for base slicer

This commit is contained in:
Stewart Allen 2022-01-27 15:12:43 -05:00
commit df8feb8ae7
3 changed files with 53 additions and 26 deletions

View file

@ -284,7 +284,7 @@ function space_init(data) {
if (shiftKey) return api.tool.merge();
return api.tool.mirror();
case 'KeyA':
return api.tool.analyze();
return shiftKey ? api.tool.analyze() : undefined;
case 'KeyR':
if (shiftKey) return api.tool.rebuild();
return api.tool.repair();