fix cam slicing down to 0
This commit is contained in:
parent
02f5f349e2
commit
a4b6713acc
1 changed files with 2 additions and 1 deletions
|
|
@ -356,7 +356,8 @@
|
|||
zmin = (opt.min || this.bounds.min.z) + boff,
|
||||
zmax = (opt.max || this.bounds.max.z) - toff,
|
||||
steps = (zmax - zmin) / step,
|
||||
count = Math.floor(steps),
|
||||
rem = steps % 1 != 0 ? 0 : 1,
|
||||
count = Math.floor(steps) + rem,
|
||||
array = [];
|
||||
|
||||
if (opt.fit) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue