fix re-shadow after index rotations, carry angle through synth points
This commit is contained in:
parent
3f3fccbd2a
commit
3452297dc6
5 changed files with 26 additions and 21 deletions
|
|
@ -247,9 +247,9 @@ CAM.slice = function(settings, widget, onupdate, ondone) {
|
|||
let points = base.verticesToPoints(widget.getGeoVertices(true, true));
|
||||
state.slicer = new kiri.cam_slicer(points, {
|
||||
zlist: true,
|
||||
zline: true,
|
||||
nobucket: true // b/c negative Z when rotated
|
||||
zline: true
|
||||
});
|
||||
shadows = {};
|
||||
new CAM.OPS.shadow(state, { type: "shadow", silent: true }).slice(progress => {
|
||||
// console.log('reshadow', progress.round(3));
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue