filter dup slice indices in cam. fix factor declaration
This commit is contained in:
parent
da3faa2bf5
commit
6051177161
2 changed files with 4 additions and 3 deletions
|
|
@ -1100,8 +1100,8 @@
|
|||
}
|
||||
|
||||
function sliceWidget(widget) {
|
||||
widget.stack = STACKS.create(widget.id, widget.mesh),
|
||||
factor = (widget.getVertices().count / defvert);
|
||||
widget.stack = STACKS.create(widget.id, widget.mesh);
|
||||
let factor = (widget.getVertices().count / defvert);
|
||||
|
||||
// compensate for zcut (widget moved through floor)
|
||||
widget.stack.obj.view.position.z = widget.track.zcut || 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue