mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-01 18:25:32 -06:00
Through an MSPACE viewport a block reference on a layer the viewport draws was hit on a part whose layer is frozen in that viewport, and that part took room in the box a window tests. The viewport does not draw the part. - doc: ViewportBounds measures an entity as one layout viewport draws it, without the block contents on the viewport's frozen layers. - render: build_entities_in_viewport builds loose entities as a viewport that freezes the given layers draws them. - engine: a pick, selection cycling's list, a window, a crossing window, a fence and the polygons test a reference against that box and that geometry. The spatial index is unchanged: the viewport's box is never larger than the indexed one. - ui: the highlight of a reference inside the active viewport is built the same way. A clipped reference (XCLIP) stays selected by its boundary whatever the viewport draws inside it, as AutoCAD 2022 selects it: it keeps the box the drawing gives it. Nothing changes where no layer is frozen in the active viewport.