!1819 优化:无类型门板不绘制铰链

pull/1827/MERGE
黄诗津 3 years ago committed by ChenX
parent d89a6b6f5b
commit 287755a318

@ -295,6 +295,7 @@ export class DrawDoorTool
{ {
if (info.tempInfo.hingeTemp && info.tempInfo.hingeTemp.id && this._idTempMap.has(info.tempInfo.hingeTemp.id)) if (info.tempInfo.hingeTemp && info.tempInfo.hingeTemp.id && this._idTempMap.has(info.tempInfo.hingeTemp.id))
{ {
if (info.openDir === DoorOpenDir.None) return;
let hingeSpace = this.GetPositionSpace("铰链空间"); let hingeSpace = this.GetPositionSpace("铰链空间");
let hingeTemp = this._idTempMap.get(info.tempInfo.hingeTemp.id); let hingeTemp = this._idTempMap.get(info.tempInfo.hingeTemp.id);
if (hingeTemp.Objects.length === 0) return; if (hingeTemp.Objects.length === 0) return;

Loading…
Cancel
Save