ycw 4 tháng trước cách đây
mục cha
commit
5bf960214b

+ 1 - 1
editor/js/commands/SetMaterialRangeCommand.js

@@ -24,7 +24,7 @@ class SetMaterialRangeCommand extends Command {
 
 
 		const material = ( object !== null ) ? editor.getObjectMaterial( object, materialSlot ) : null;
 		const material = ( object !== null ) ? editor.getObjectMaterial( object, materialSlot ) : null;
 
 
-		this.oldRange = ( material !== null && material[ attributeName ] !== undefined ) ? [ ...this.material[ attributeName ] ] : null;
+		this.oldRange = ( material !== null && material[ attributeName ] !== undefined ) ? [ ... material[ attributeName ] ] : null;
 		this.newRange = [ newMinValue, newMaxValue ];
 		this.newRange = [ newMinValue, newMaxValue ];
 
 
 		this.attributeName = attributeName;
 		this.attributeName = attributeName;

粤ICP备19079148号