fix z top for cam/index & fdm. don't show gdpr for local/dev
This commit is contained in:
parent
2a7ee2fc67
commit
0f9e3c4f03
2 changed files with 4 additions and 3 deletions
|
|
@ -459,8 +459,9 @@ class Widget {
|
|||
let mesh = this.mesh,
|
||||
track = this.track,
|
||||
mbb = mesh.getBoundingBox(),
|
||||
mbz = mbb.max.z;
|
||||
if (z != undefined) {
|
||||
mbz = mbb.max.z,
|
||||
idx = this.isIndexed;
|
||||
if ((idx && z != undefined) || (!idx && z)) {
|
||||
track.top = z;
|
||||
} else {
|
||||
track.top = mbz;
|
||||
|
|
|
|||
Loading…
Reference in a new issue