fix typo and add mesh default for cli
This commit is contained in:
parent
300833ff11
commit
6ca6479c58
1 changed files with 3 additions and 2 deletions
|
|
@ -21,12 +21,13 @@
|
||||||
constructor(opt = {}) {
|
constructor(opt = {}) {
|
||||||
let { state, contour, onupdate, ondone } = opt;
|
let { state, contour, onupdate, ondone } = opt;
|
||||||
let { widget, settings, tshadow, center, tabs } = opt.state;
|
let { widget, settings, tshadow, center, tabs } = opt.state;
|
||||||
let density = parseInt(settings.controller.animesh) * 2500,
|
|
||||||
|
let density = parseInt(settings.controller.animesh || 100) * 2500,
|
||||||
axis = contour.axis.toLowerCase(),
|
axis = contour.axis.toLowerCase(),
|
||||||
contourX = axis === "x",
|
contourX = axis === "x",
|
||||||
contourY = axis === "y",
|
contourY = axis === "y",
|
||||||
bounds = widget.getBoundingBox().clone(),
|
bounds = widget.getBoundingBox().clone(),
|
||||||
tolerance = contour.tolerace,
|
tolerance = contour.tolerance,
|
||||||
proc = settings.process,
|
proc = settings.process,
|
||||||
shadow = tshadow,
|
shadow = tshadow,
|
||||||
minX = bounds.min.x,
|
minX = bounds.min.x,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue