diff --git a/src/game-lib-system-input.js b/src/game-lib-system-input.js index 150fce2..c6e580b 100644 --- a/src/game-lib-system-input.js +++ b/src/game-lib-system-input.js @@ -164,7 +164,8 @@ GameLib.System.Input.prototype.start = function() { false ); - editorControl.delayedInstance(); + editorControl.delayed = false; + editorControl.createInstance(); editorControl.domElement.instance.addEventListener( 'mousewheel', @@ -697,29 +698,6 @@ GameLib.System.Input.prototype.stop = function() { // //todo - change view // } // -// if (event.code == "KeyQ") { -// -// this.editor.allSelected = !this.editor.allSelected; -// -// this.editor.selectedObjects = []; -// -// if (this.editor.allSelected) { -// for (var property in this.editor.idToObject) { -// if (this.editor.idToObject.hasOwnProperty(property)) { -// this.editor.selectedObjects.push( -// new GameLib.D3.SelectedObject( -// this.graphics, -// this.editor.idToObject(property) -// ) -// ) -// } -// } -// } -// -// if (this.editor.onSelectionChanged) { -// this.editor.onSelectionChanged(this.editor); -// } -// } // // if (event.code == 'KeyG') { // if (!this.meshMoveMode) {