@@ -4662,6 +4662,9 @@
var camera: TargetCamera;
var radius = worldSize.length() * 1.5;
+ if (!isFinite(radius)) {
+ radius = 1;
+ }
if (createArcRotateCamera) {
var arcRotateCamera = new ArcRotateCamera("default camera", -(Math.PI / 2), Math.PI / 2, radius, worldCenter, this);
arcRotateCamera.lowerRadiusLimit = radius * 0.01;