|
@@ -69,7 +69,7 @@
|
|
BABYLONDEVTOOLS.Loader.debugShortcut(engine);
|
|
BABYLONDEVTOOLS.Loader.debugShortcut(engine);
|
|
|
|
|
|
// call the scene creation from the js.
|
|
// call the scene creation from the js.
|
|
- if (delayCreateScene) {
|
|
|
|
|
|
+ if (typeof delayCreateScene !== "undefined") {
|
|
var scene = delayCreateScene();
|
|
var scene = delayCreateScene();
|
|
|
|
|
|
if (scene) {
|
|
if (scene) {
|