Browse Source

fix mismatch .type (#28276)

ycw 1 year ago
parent
commit
83a058b514
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/js/commands/SetMaterialVectorCommand.js

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

@@ -6,7 +6,7 @@ class SetMaterialVectorCommand extends Command {
 
 		super( editor );
 
-		this.type = 'SetMaterialColorCommand';
+		this.type = 'SetMaterialVectorCommand';
 		this.name = `Set Material.${attributeName}`;
 		this.updatable = true;