diff --git a/src/game-lib-d3-controls-editor.js b/src/game-lib-d3-controls-editor.js index 1d6a153..34ffc22 100644 --- a/src/game-lib-d3-controls-editor.js +++ b/src/game-lib-d3-controls-editor.js @@ -114,8 +114,8 @@ GameLib.D3.Controls.Editor.FromObject = function(graphics, objectControls) { return new GameLib.D3.Controls.Editor( graphics, apiControls, - apiControls.raycaster, - apiControls.camera + objectControls.raycaster, + objectControls.camera ); }; \ No newline at end of file