From 0a9ca68dbdee847d95876ac521eac869a3ba77a0 Mon Sep 17 00:00:00 2001 From: zcy <290198252@qq.com> Date: Sun, 10 Mar 2024 14:41:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E8=BF=87=E6=9F=A5=E6=89=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- altium_sch_renderer.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/altium_sch_renderer.js b/altium_sch_renderer.js index 19470ae..cc624af 100644 --- a/altium_sch_renderer.js +++ b/altium_sch_renderer.js @@ -1007,18 +1007,6 @@ class AltiumSchematicRenderer e6.geometry.setTerminalPoint(new mxPoint(obj.points[obj.points.length - 1].x, obj.points[obj.points.length - 1].y), false) - var obj1 = this.graph.getCellAt(obj.points[0].x,obj.points[0].y,parent) - var obj2 = this.graph.getCellAt(obj.points[obj.points.length - 1].x, - obj.points[obj.points.length - 1].y,parent) - for (let i in this.graph.model.cells){ - if(this.graph.model.cells[i].geometry != undefined){ - // - if((this.graph.model.cells[i].geometry['x'] == obj.points[0].x) - &&(this.graph.model.cells[i].geometry['y'] == obj.points[0].y)){ - console.log("find first") - console.log(this.graph.model.cells[i].geometry) - } - } } // if (!this.#shouldShow(obj)) continue;