Dad72 Posted January 14, 2014 Share Posted January 14, 2014 There was a small error in this function: (files: babylon.filesInput.js , line : 15)BABYLON.FilesInput = function (p_engine, p_scene, p_canvas, p_sceneLoadedCallback, p_progressCallback, p_additionnalRenderLoopLogicCallback, p_textureLoadingCallback, p_startingProcessingFilesCallback) { that = this; this.engine = p_engine; this.canvas = p_canvas; this.originalScene = p_scene; // ERROR originalScene not use this.sceneLoadedCallback = p_sceneLoadedCallback; this.progressCallback = p_progressCallback; this.additionnalRenderLoopLogicCallback = p_additionnalRenderLoopLogicCallback; this.textureLoadingCallback = p_textureLoadingCallback; this.startingProcessingFilesCallback = p_startingProcessingFilesCallback; this.engine.runRenderLoop(renderFunction); };in the variable :this.originalScene = p_scene; replace :this.currentScene = p_scene; Function fixe: /// Register to core BabylonJS object: engine, scene, rendering canvas, callback function when the scene will be loaded, /// loading progress callback and optionnal addionnal logic to call in the rendering loop BABYLON.FilesInput = function (p_engine, p_scene, p_canvas, p_sceneLoadedCallback, p_progressCallback, p_additionnalRenderLoopLogicCallback, p_textureLoadingCallback, p_startingProcessingFilesCallback) { that = this; this.engine = p_engine; this.canvas = p_canvas; this.currentScene = p_scene; this.sceneLoadedCallback = p_sceneLoadedCallback; this.progressCallback = p_progressCallback; this.additionnalRenderLoopLogicCallback = p_additionnalRenderLoopLogicCallback; this.textureLoadingCallback = p_textureLoadingCallback; this.startingProcessingFilesCallback = p_startingProcessingFilesCallback; this.engine.runRenderLoop(renderFunction); }; Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 15, 2014 Share Posted January 15, 2014 thank you I will fix it quickly Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 19, 2014 Author Share Posted January 19, 2014 1.8.5 Does not correct this problem? This is just to make a recall. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 19, 2014 Share Posted January 19, 2014 Damned!!! Now it is fixed Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 19, 2014 Author Share Posted January 19, 2014 Thanks Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 19, 2014 Author Share Posted January 19, 2014 It is not on github Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 20, 2014 Share Posted January 20, 2014 It is now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.