Browse Source

Editor: Fixed material panel bug.

Mr.doob 12 years ago
parent
commit
ef1cb03bdb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/js/Sidebar.Material.js

+ 1 - 1
editor/js/Sidebar.Material.js

@@ -264,7 +264,7 @@ Sidebar.Material = function ( editor ) {
 
 
 			if ( material.uuid !== undefined ) {
 			if ( material.uuid !== undefined ) {
 
 
-				object.uuid = objectUUID.getValue();
+				material.uuid = materialUUID.getValue();
 
 
 			}
 			}