clear topo cache after axis indexing
This commit is contained in:
parent
7571604cce
commit
a3838b1e5e
2 changed files with 3 additions and 1 deletions
|
|
@ -253,6 +253,7 @@ CAM.slice = function(settings, widget, onupdate, ondone) {
|
|||
new CAM.OPS.shadow(state, { type: "shadow", silent: true }).slice(progress => {
|
||||
// console.log('reshadow', progress.round(3));
|
||||
});
|
||||
widget.topo = undefined;
|
||||
}
|
||||
camOps.push(op);
|
||||
opSum += weight;
|
||||
|
|
|
|||
|
|
@ -409,7 +409,8 @@ class Topo {
|
|||
ondone(newslices);
|
||||
}
|
||||
|
||||
let slicer = new kiri.cam_slicer(widget.getPoints(), {
|
||||
let points = base.verticesToPoints(widget.getGeoVertices(true, true));
|
||||
let slicer = new kiri.cam_slicer(points, {
|
||||
swapX: true, emptyok: true, notopok: true
|
||||
});
|
||||
let sindex = slicer.interval(resolution);
|
||||
|
|
|
|||
Loading…
Reference in a new issue