浏览代码

Editor: Putting material.map feature on hold.

Mr.doob 13 年之前
父节点
当前提交
97899178c0
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      editor/js/ui/Sidebar.Properties.Material.js

+ 3 - 1
editor/js/ui/Sidebar.Properties.Material.js

@@ -109,7 +109,7 @@ Sidebar.Properties.Material = function ( signals ) {
 
 	var materialMapRow = new UI.Panel();
 	var materialMapEnabled = new UI.Checkbox( 'absolute' ).setValue( false ).setLeft( '100px' ).onChange( update );
-	var materialMap = new UI.Texture( 'absolute' ).setLeft( '130px' ).setColor( '#444' ).onChange( update );
+	var materialMap = new UI.Text( 'absolute' ).setLeft( '130px' ).setColor( '#444' ).setFontSize( '12px' );
 
 	materialMapRow.add( new UI.Text().setValue( 'Map' ).setColor( '#666' ) );
 	materialMapRow.add( materialMapEnabled );
@@ -259,12 +259,14 @@ Sidebar.Properties.Material = function ( signals ) {
 
 			}
 
+			/*
 			if ( material.map !== undefined ) {
 
 				material.map = materialMapEnabled.getValue() === true ? materialMap.getValue() : null;
 				material.needsUpdate = true;
 
 			}
+			*/
 
 			if ( material.opacity !== undefined ) {