fix contour tool distinct from outline tool

This commit is contained in:
Stewart Allen 2020-10-27 13:47:53 -04:00
commit de40a86443
2 changed files with 4 additions and 3 deletions

View file

@ -2,6 +2,7 @@
## `C` cosmetic, `F` functional, `P` performance, `B` bug fix
* `F` add click-to-activate/dismiss for configuration panels
* `F` implement an in-app bug reporting system
* `F` extend mesh object to store raw + annotations (rot,scale,pos)
* share raw data w/ dups, encode/decode

View file

@ -391,8 +391,8 @@
outp = settings.process,
units = settings.controller.units === 'in' ? 25.4 : 1,
resolution = outp.camTolerance * units,
diameter = getToolDiameter(settings, proc.camOutlineTool),
tool = getToolById(settings, proc.camOutlineTool),
diameter = getToolDiameter(settings, proc.camContourTool),
tool = getToolById(settings, proc.camContourTool),
toolStep = diameter * proc.camContourOver,
traceJoin = diameter / 2,
pocketOnly = proc.camOutlinePocket,
@ -418,7 +418,7 @@
diameter: diameter,
resolution: resolution
},
toolOffset = createToolProfile(settings, proc.camOutlineTool, topo),
toolOffset = createToolProfile(settings, proc.camContourTool, topo),
newslices = [],
newlines,
newtop,