rm dead code. clean up slicing path marginally. bug fix belt support render
This commit is contained in:
parent
9aae90880c
commit
9d6e4a6512
6 changed files with 59 additions and 65 deletions
|
|
@ -742,6 +742,10 @@ class Widget {
|
|||
onupdate(0.0001, "slicing");
|
||||
|
||||
if (kiri.client && !widget.inWorker) {
|
||||
// store slicing visuals
|
||||
widget.stack = kiri.stacks.create(widget.id, widget.mesh);
|
||||
// compensate for zcut (widget moved through floor)
|
||||
widget.stack.obj.view.position.z = widget.track.zcut || 0;
|
||||
// in case result of slice is nothing, do not preserve previous
|
||||
widget.slices = []
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue