Selaa lähdekoodia

Editor: Fixed material panel bug.

Mr.doob 12 vuotta sitten
vanhempi
commit
ef1cb03bdb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 ) {
 
-				object.uuid = objectUUID.getValue();
+				material.uuid = materialUUID.getValue();
 
 			}