区段吸附点只要物理区段
This commit is contained in:
parent
347dec93d0
commit
fc23bb11d5
@ -355,7 +355,9 @@ function buildAbsorbablePositions(section: Section): AbsorbablePosition[] {
|
||||
const ye = new AbsorbableLine({ x: pe.x, y: 0 }, { x: pe.x, y: height });
|
||||
aps.push(xs, ys, xe, ye);
|
||||
});
|
||||
const sections = section.queryStore.queryByType<Section>(Section.Type);
|
||||
const sections = section.queryStore
|
||||
.queryByType<Section>(Section.Type)
|
||||
.filter((g) => g.datas.sectionType == SectionType.Physical);
|
||||
sections.forEach((item) => {
|
||||
if (item.id !== section.id) {
|
||||
item.localToCanvasPoints(...item.datas.points).forEach((p) => {
|
||||
|
Loading…
Reference in New Issue
Block a user