fix constructor order
parent
291fb7e023
commit
4061f9ec4f
|
@ -305,6 +305,10 @@ GameLib.D3.Scene.LoadSceneFromApi = function(
|
|||
|
||||
var entities = [];
|
||||
|
||||
var worlds = [];
|
||||
|
||||
var components = [];
|
||||
|
||||
if (scene.worlds && scene.worlds.length > 0) {
|
||||
console.warn('Implement physics worlds code here');
|
||||
//TODO: physics world code here
|
||||
|
@ -394,10 +398,11 @@ GameLib.D3.Scene.LoadSceneFromApi = function(
|
|||
),
|
||||
scene.parentSceneId,
|
||||
lights3d,
|
||||
worlds,
|
||||
entities,
|
||||
uploadUrl,
|
||||
progressCallback,
|
||||
uploadUrl
|
||||
uploadUrl,
|
||||
components
|
||||
);
|
||||
|
||||
GameLib.D3.Scene.LoadScene(
|
||||
|
|
Loading…
Reference in New Issue