修复autocad显示错误

This commit is contained in:
xief committed 2023-07-27 11:22:48 +08:00
1 parent e5b944539e
commit a55986761e
2 files changed
+129 -2247

No files matched your search

+3 -3
View File
@@ -89,8 +89,8 @@ export class SimpleBoard
pts.push(new Vector2(0, 0),
new Vector2(this.width, 0),
new Vector2(this.width, length),
new Vector2(0, length),
new Vector2(this.width, this.height),
new Vector2(0, this.height),
new Vector2(0, 0)
);
buls.push(0, 0, 0, 0, 0);
@@ -154,7 +154,7 @@ export class SimpleBoard
mesh.userData = ext.Normal;
edges.forEach(e => e.userData = ext.Normal);
// 自定义编号
if (this._CustomNumber)
if (this._CustomNumber && this._CustomNumber.length > 0)
{
mesh.add(this.createCustomNo());
}
+126 -2244
View File
File diff suppressed because it is too large. Load diff