add some platform tween effects
This commit is contained in:
parent
8ae99ec792
commit
d2487f1b08
2 changed files with 40 additions and 11 deletions
|
|
@ -393,8 +393,10 @@
|
|||
|
||||
// sparse layers only present when non-vase mose and sparse % > 0
|
||||
if (doSparseFill && !isSynth) {
|
||||
let lastType;
|
||||
forSlices(0.5, 0.7, slice => {
|
||||
let params = getRangeParameters(settings, slice.index);
|
||||
let newType = params.sliceFillType;
|
||||
doSparseLayerFill(slice, {
|
||||
settings: settings,
|
||||
process: spro,
|
||||
|
|
@ -404,9 +406,10 @@
|
|||
density: params.sliceFillSparse,
|
||||
bounds: widget.getBoundingBox(),
|
||||
height: sliceHeight,
|
||||
type: params.sliceFillType,
|
||||
cache: params._range !== true
|
||||
type: newType,
|
||||
cache: params._range !== true && lastType === newType
|
||||
});
|
||||
lastType = newType;
|
||||
}, "infill");
|
||||
} else if (isSynth && supportDensity) {
|
||||
forSlices(0.5, 0.7, slice => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue