@@ -52,6 +52,9 @@
};
SubMesh.prototype.updateBoundingInfo = function (world) {
+ if (!this._boundingInfo) {
+ this.refreshBoundingInfo();
+ }
this._boundingInfo._update(world);
@@ -56,6 +56,9 @@
}
public updateBoundingInfo(world: Matrix): void {