修复标注错误

This commit is contained in:
xief 2023-07-14 18:00:21 +08:00
parent 36541f1617
commit 965ae43070

View File

@ -153,20 +153,15 @@ export class SimpleBoard
let mesh = new Mesh(ext.MeshGeometry, boardMaterial);
mesh.userData = ext.Normal;
edges.forEach(e => e.userData = ext.Normal);
mesh.applyMatrix4(ext.OCSNoClone);
mesh.updateWorldMatrix(false, true);
// 自定义编号
// let o = this._CustomNumberTextEntity.GetDrawObjectFromRenderType(RenderType.Conceptual);
// if (o)
// {
// mesh.add(o);
// }
if (this._CustomNumber)
{
mesh.add(this.createCustomNo());
}
mesh.applyMatrix4(ext.OCSNoClone);
mesh.updateWorldMatrix(false, true);
return { mesh, edges };
}