From b60992d24c15b3cbde1b8d38f85add7f16e8b1a1 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Thu, 23 Oct 2014 00:21:37 +0200 Subject: [PATCH] Editor: Disabling Play/Script by now. --- editor/index.html | 2 ++ editor/js/Editor.js | 2 +- editor/js/Menubar.File.js | 3 ++- editor/js/Menubar.js | 2 +- editor/js/Sidebar.js | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/editor/index.html b/editor/index.html index ec2af2da5a..e9ef24eb4d 100644 --- a/editor/index.html +++ b/editor/index.html @@ -97,8 +97,10 @@ var viewport = new Viewport( editor ); document.body.appendChild( viewport.dom ); + /* var player = new Player( editor ); document.body.appendChild( player.dom ); + */ var toolbar = new Toolbar( editor ); document.body.appendChild( toolbar.dom ); diff --git a/editor/js/Editor.js b/editor/js/Editor.js index 8215559e68..1864f74acd 100644 --- a/editor/js/Editor.js +++ b/editor/js/Editor.js @@ -72,7 +72,7 @@ var Editor = function () { this.geometries = {}; this.materials = {}; this.textures = {}; - this.scripts = {}; + // this.scripts = {}; this.selected = null; this.helpers = {}; diff --git a/editor/js/Menubar.File.js b/editor/js/Menubar.File.js index fc8c20e9ab..a5b234327e 100644 --- a/editor/js/Menubar.File.js +++ b/editor/js/Menubar.File.js @@ -195,7 +195,6 @@ Menubar.File = function ( editor ) { options.add( new UI.HorizontalRule() ); /* - // Test var option = new UI.Panel(); @@ -210,6 +209,7 @@ Menubar.File = function ( editor ) { options.add( option ); */ + /* // Publish var option = new UI.Panel(); @@ -221,6 +221,7 @@ Menubar.File = function ( editor ) { } ); options.add( option ); + */ // diff --git a/editor/js/Menubar.js b/editor/js/Menubar.js index 688cc48b61..88edefd41b 100644 --- a/editor/js/Menubar.js +++ b/editor/js/Menubar.js @@ -10,7 +10,7 @@ var Menubar = function ( editor ) { container.add( new Menubar.File( editor ) ); container.add( new Menubar.Edit( 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.Help( editor ) ); diff --git a/editor/js/Sidebar.js b/editor/js/Sidebar.js index 840b9ddb31..6010ee9013 100644 --- a/editor/js/Sidebar.js +++ b/editor/js/Sidebar.js @@ -13,7 +13,7 @@ var Sidebar = function ( editor ) { container.add( new Sidebar.Geometry( editor ) ); container.add( new Sidebar.Material( editor ) ); container.add( new Sidebar.Animation( editor ) ); - container.add( new Sidebar.Script( editor ) ); + // container.add( new Sidebar.Script( editor ) ); return container; -- GitLab