提交 d5bba152 编写于 作者: M Mr.doob

Editor: Added some handy links.

上级 41aa5e35
......@@ -15,6 +15,7 @@ Menubar.File = function ( signals ) {
options.setClass( 'options' );
container.add( options );
/*
// open
var option = new UI.Panel();
......@@ -22,6 +23,7 @@ Menubar.File = function ( signals ) {
option.setTextContent( 'Open' );
option.onClick( function () { alert( 'Open' ) } );
options.add( option );
*/
// reset scene
......@@ -47,6 +49,7 @@ Menubar.File = function ( signals ) {
option.onClick( function () { signals.exportScene.dispatch(); } );
options.add( option );
/*
// export OBJ
var option = new UI.Panel();
......@@ -54,6 +57,7 @@ Menubar.File = function ( signals ) {
option.setTextContent( 'Export OBJ' );
option.onClick( function () { alert( 'Export OBJ' ) } );
options.add( option );
*/
//
......
......@@ -15,12 +15,20 @@ Menubar.Help = function ( signals ) {
options.setClass( 'options' );
container.add( options );
// source code
var option = new UI.Panel();
option.setClass( 'option' );
option.setTextContent( 'Source code' );
option.onClick( function () { window.open( 'https://github.com/mrdoob/three.js/tree/master/editor', '_blank' ) } );
options.add( option );
// about
var option = new UI.Panel();
option.setClass( 'option' );
option.setTextContent( 'About' );
option.onClick( function () { alert( 'About' ) } );
option.onClick( function () { window.open( 'http://threejs.org', '_blank' ) } );
options.add( option );
//
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册