|
@@ -50,22 +50,22 @@ var Editor = function () {
|
|
|
showGridChanged: new SIGNALS.Signal()
|
|
|
|
|
|
};
|
|
|
-
|
|
|
+
|
|
|
this.config = new Config();
|
|
|
this.storage = new Storage();
|
|
|
this.loader = new Loader( this );
|
|
|
|
|
|
- this.camera = new THREE.PerspectiveCamera( 50, 1, 1, 100000 );
|
|
|
+ this.camera = new THREE.PerspectiveCamera( 50, 1, 0.1, 100000 );
|
|
|
this.scene = new THREE.Scene();
|
|
|
this.scene.name = 'Scene';
|
|
|
-
|
|
|
+
|
|
|
this.sceneHelpers = new THREE.Scene();
|
|
|
|
|
|
this.object = {};
|
|
|
this.geometries = {};
|
|
|
this.materials = {};
|
|
|
this.textures = {};
|
|
|
-
|
|
|
+
|
|
|
this.scripts = {};
|
|
|
|
|
|
this.selected = null;
|
|
@@ -84,11 +84,11 @@ Editor.prototype = {
|
|
|
},
|
|
|
|
|
|
showDialog: function ( value ) {
|
|
|
-
|
|
|
+
|
|
|
this.signals.showDialog.dispatch( value );
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
//
|
|
|
|
|
|
setScene: function ( scene ) {
|