!472 修复排钻 fix #I1165Z

pull/472/MERGE
ZoeLeeFZ 5 years ago committed by ChenX
parent 770244e963
commit e9936a6c8c

@ -465,7 +465,7 @@ export class DrawDrillingTool extends Singleton
//缓存初始化排钻
let isPostive = this.m_Face.m_InterBoard.BoardProcessOption.bigHoleDir === FaceDirection.Front;
let key = f.drillType + "-" + FixedNotZero(f.m_Length, 2) + "-" + FixedNotZero(f.m_Width, 2) + isPostive;
let key = f.drillType + "-" + FixedNotZero(f.m_Length, 2) + "-" + FixedNotZero(f.m_Width, 2) + isPostive + f.isEqualType;
if (this._drillEntsCache.has(key))
{
this.drillEnts.push(...this._drillEntsCache.get(key));

Loading…
Cancel
Save