|
@@ -587,6 +587,11 @@ module BABYLON {
|
|
|
|
|
|
this.onValidatedObservable.notifyObservers(result);
|
|
this.onValidatedObservable.notifyObservers(result);
|
|
this.onValidatedObservable.clear();
|
|
this.onValidatedObservable.clear();
|
|
|
|
+ }, (reason) => {
|
|
|
|
+ this._endPerformanceCounter("Validate JSON");
|
|
|
|
+
|
|
|
|
+ Tools.Warn(`Failed to validate: ${reason}`);
|
|
|
|
+ this.onValidatedObservable.clear();
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|