fix line width override in preview. add more lighting debug
This commit is contained in:
parent
bcea87dbe6
commit
1a7e97462b
6 changed files with 19 additions and 13 deletions
|
|
@ -56,6 +56,7 @@ function path(levels, update, opts = {}) {
|
|||
const arrowSize = arrowAll ? 0.2 : 0.4;
|
||||
const layers = [];
|
||||
const toolMode = opts.toolMode;
|
||||
const lineWidth = opts.lineWidth;
|
||||
|
||||
const moveOpt = {
|
||||
face: moveColor,
|
||||
|
|
@ -125,7 +126,7 @@ function path(levels, update, opts = {}) {
|
|||
toolid = toolid || 0;
|
||||
const array = prints[toolid] = prints[toolid] || [];
|
||||
const tool = tools[toolid] || {};
|
||||
array.width = (tool.extNozzle || 1) / 2;
|
||||
array.width = (lineWidth || tool.extNozzle || 1) / 2;
|
||||
array.push(poly);
|
||||
emits++;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue