Browse Source

Remove dead code.

manthrax 8 years ago
parent
commit
a5efcd1674
1 changed files with 0 additions and 1 deletions
  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 );
 	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.oldValue = ( material !== undefined ) ? material[ this.attributeName ].getHex() : undefined;
 	this.newValue = newValue;
 	this.newValue = newValue;