开发:优化代码

pull/2614/MERGE
ChenX 7 months ago
parent 12cbd1231a
commit b7abeff0a2

@ -495,7 +495,11 @@ export class ExtrudeHole extends Hole
let count = file.Read(); let count = file.Read();
this.RelevanceBoards.length = 0; this.RelevanceBoards.length = 0;
for (let i = 0; i < count; i++) for (let i = 0; i < count; i++)
this.RelevanceBoards.push(file.ReadSoftObjectId()); {
let id = file.ReadSoftObjectId();
if (id)
this.RelevanceBoards.push(id);
}
} }
this.Update(); this.Update();

Loading…
Cancel
Save