1 Commits
1.4.3 ... 1.4.5

Author SHA1 Message Date
xief
a55986761e 修复autocad显示错误 2023-07-27 11:22:48 +08:00
2 changed files with 129 additions and 2247 deletions

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());
}

File diff suppressed because it is too large Load Diff