Explorar o código

Editor: Disabling Play/Script by now.

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
b60992d24c
Modificáronse 5 ficheiros con 7 adicións e 4 borrados
  1. 2 0
      editor/index.html
  2. 1 1
      editor/js/Editor.js
  3. 2 1
      editor/js/Menubar.File.js
  4. 1 1
      editor/js/Menubar.js
  5. 1 1
      editor/js/Sidebar.js

+ 2 - 0
editor/index.html

@@ -97,8 +97,10 @@
 			var viewport = new Viewport( editor );
 			var viewport = new Viewport( editor );
 			document.body.appendChild( viewport.dom );
 			document.body.appendChild( viewport.dom );
 
 
+			/*
 			var player = new Player( editor );
 			var player = new Player( editor );
 			document.body.appendChild( player.dom );
 			document.body.appendChild( player.dom );
+			*/
 
 
 			var toolbar = new Toolbar( editor );
 			var toolbar = new Toolbar( editor );
 			document.body.appendChild( toolbar.dom );
 			document.body.appendChild( toolbar.dom );

+ 1 - 1
editor/js/Editor.js

@@ -72,7 +72,7 @@ var Editor = function () {
 	this.geometries = {};
 	this.geometries = {};
 	this.materials = {};
 	this.materials = {};
 	this.textures = {};
 	this.textures = {};
-	this.scripts = {};
+	// this.scripts = {};
 
 
 	this.selected = null;
 	this.selected = null;
 	this.helpers = {};
 	this.helpers = {};

+ 2 - 1
editor/js/Menubar.File.js

@@ -195,7 +195,6 @@ Menubar.File = function ( editor ) {
 	options.add( new UI.HorizontalRule() );
 	options.add( new UI.HorizontalRule() );
 
 
 	/*
 	/*
-
 	// Test
 	// Test
 
 
 	var option = new UI.Panel();
 	var option = new UI.Panel();
@@ -210,6 +209,7 @@ Menubar.File = function ( editor ) {
 	options.add( option );
 	options.add( option );
 	*/
 	*/
 
 
+	/*
 	// Publish
 	// Publish
 
 
 	var option = new UI.Panel();
 	var option = new UI.Panel();
@@ -221,6 +221,7 @@ Menubar.File = function ( editor ) {
 
 
 	} );
 	} );
 	options.add( option );
 	options.add( option );
+	*/
 
 
 
 
 	//
 	//

+ 1 - 1
editor/js/Menubar.js

@@ -10,7 +10,7 @@ var Menubar = function ( editor ) {
 	container.add( new Menubar.File( editor ) );
 	container.add( new Menubar.File( editor ) );
 	container.add( new Menubar.Edit( editor ) );
 	container.add( new Menubar.Edit( editor ) );
 	container.add( new Menubar.Add( editor ) );
 	container.add( new Menubar.Add( editor ) );
-	container.add( new Menubar.Play( editor ) );
+	// container.add( new Menubar.Play( editor ) );
 	container.add( new Menubar.View( editor ) );
 	container.add( new Menubar.View( editor ) );
 	container.add( new Menubar.Help( editor ) );
 	container.add( new Menubar.Help( editor ) );
 
 

+ 1 - 1
editor/js/Sidebar.js

@@ -13,7 +13,7 @@ var Sidebar = function ( editor ) {
 	container.add( new Sidebar.Geometry( editor ) );
 	container.add( new Sidebar.Geometry( editor ) );
 	container.add( new Sidebar.Material( editor ) );
 	container.add( new Sidebar.Material( editor ) );
 	container.add( new Sidebar.Animation( editor ) );
 	container.add( new Sidebar.Animation( editor ) );
-	container.add( new Sidebar.Script( editor ) );
+	// container.add( new Sidebar.Script( editor ) );
 
 
 	return container;
 	return container;