delayed instance update

beta.r3js.org
-=yb4f310 2017-10-27 10:10:33 +02:00
parent f9982a992d
commit fb4f4927d6
1 changed files with 2 additions and 24 deletions

View File

@ -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) {