remove ghost in thin line render, add fat for slice view (preview requires more work)

This commit is contained in:
Stewart Allen 2024-09-04 23:22:55 -04:00
commit 95f0569ecf
3 changed files with 14 additions and 12 deletions

View file

@ -215,9 +215,9 @@ function prepareSlices(callback, scale = 1, offset = 0) {
if (scale === 1) {
view.update_stack_labels();
}
if (!isBelt && controller.lineType === 'line' && !process.xray && !controller.devel) {
$('render-ghost').onclick();
}
// if (!isBelt && controller.lineType === 'line' && !process.xray && !controller.devel) {
// $('render-ghost').onclick();
// }
if (scale === 1) {
show.progress(0);
}
@ -372,9 +372,9 @@ function preparePreview(callback, scale = 1, offset = 0) {
view.update_stack_labels();
let { controller, process } = settings;
if (!isBelt && controller.lineType === 'line' && !process.xray && !controller.devel) {
$('render-ghost').onclick();
}
// if (!isBelt && controller.lineType === 'line' && !process.xray && !controller.devel) {
// $('render-ghost').onclick();
// }
// mark preview complete for export
complete.preview = feature.pmode;

View file

@ -71,6 +71,7 @@ async function path(levels, update, opts = {}) {
opacity: flat ? 0.5 : 1
};
const printOpt = {
// fat: thin ? 1.5 : 0,
face: printColor,
line: flat ? 1 : printColor,
opacity: flat ? 0.5 : 1