Fix zoom to fit bug
This commit is contained in:
@@ -71,6 +71,7 @@ function Asset({
|
||||
camera.updateProjectionMatrix()
|
||||
}
|
||||
if (initZoom) {
|
||||
if (!bSphere) return
|
||||
zoomToFit()
|
||||
setInitZoom(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user