|
@@ -15915,10 +15915,10 @@ var BABYLON;
|
|
|
this._isReady = false;
|
|
|
return;
|
|
|
}
|
|
|
- this._isReady = true;
|
|
|
if (this.onReady) {
|
|
|
this.onReady(this);
|
|
|
}
|
|
|
+ this._isReady = true;
|
|
|
};
|
|
|
/**
|
|
|
* Get an animation by name
|
|
@@ -46153,7 +46153,7 @@ var BABYLON;
|
|
|
function DirectionalLight(name, direction, scene) {
|
|
|
var _this = _super.call(this, name, scene) || this;
|
|
|
_this._shadowFrustumSize = 0;
|
|
|
- _this._shadowOrthoScale = 0.5;
|
|
|
+ _this._shadowOrthoScale = 0.1;
|
|
|
/**
|
|
|
* Automatically compute the projection matrix to best fit (including all the casters)
|
|
|
* on each frame.
|
|
@@ -56761,11 +56761,11 @@ var BABYLON;
|
|
|
buffer: buffer, bufferWidth: bufferWidth, bufferHeight: bufferHeight
|
|
|
});
|
|
|
vertexData.applyToMesh(ground, updatable);
|
|
|
- ground._setReady(true);
|
|
|
//execute ready callback, if set
|
|
|
if (onReady) {
|
|
|
onReady(ground);
|
|
|
}
|
|
|
+ ground._setReady(true);
|
|
|
};
|
|
|
BABYLON.Tools.LoadImage(url, onload, function () { }, scene.database);
|
|
|
return ground;
|