فهرست منبع

Remove dead code.

manthrax 8 سال پیش
والد
کامیت
a5efcd1674
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      editor/js/commands/SetMaterialColorCommand.js

+ 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;