delayed instance update
parent
f9982a992d
commit
fb4f4927d6
|
@ -164,7 +164,8 @@ GameLib.System.Input.prototype.start = function() {
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
editorControl.delayedInstance();
|
editorControl.delayed = false;
|
||||||
|
editorControl.createInstance();
|
||||||
|
|
||||||
editorControl.domElement.instance.addEventListener(
|
editorControl.domElement.instance.addEventListener(
|
||||||
'mousewheel',
|
'mousewheel',
|
||||||
|
@ -697,29 +698,6 @@ GameLib.System.Input.prototype.stop = function() {
|
||||||
// //todo - change view
|
// //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 (event.code == 'KeyG') {
|
||||||
// if (!this.meshMoveMode) {
|
// if (!this.meshMoveMode) {
|
||||||
|
|
Loading…
Reference in New Issue