2
0
manthrax 8 жил өмнө
parent
commit
a5efcd1674

+ 0 - 1
editor/js/commands/SetMaterialColorCommand.js

@@ -24,7 +24,6 @@ var SetMaterialColorCommand = function ( object, attributeName, newValue, slot )
 
 	var material = this.editor.getObjectMaterial( this.object, this.slot );
 
-	//this.oldValue = ( object !== undefined ) ? this.object.material[ this.attributeName ].getHex() : undefined;
 	this.oldValue = ( material !== undefined ) ? material[ this.attributeName ].getHex() : undefined;
 	this.newValue = newValue;