浏览代码

fix mismatch .type (#28276)

ycw 1 年之前
父节点
当前提交
83a058b514
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;