Commit d78fbec1 authored by 李苏's avatar 李苏 💬

重复模型名称调整

parent cccb801b
......@@ -1433,6 +1433,19 @@
this.loading = false
this.viewer.scene.traverse(model => {
if (model.isMesh) {
if(model.name=='2RCP0620-2R8015014'){
model.name='2RCP0620A'
}
if(model.name=='2RCP0620-2R8015052'){
model.name='2RCP0620B'
}
if(model.name=='1RCP0620-1R8015045'){
model.name='1RCP0620A'
}
if(model.name=='1RCP0620-1R8015909'){
model.name='1RCP0620B'
}
model.oldmaterial = model.material.clone()
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment