fix(solid): normalize quadrilateral edges

Accept perimeter and DXF Z point orders while keeping screen fill and interaction on the WCS-aware geometry.

Refs #617
This commit is contained in:
Hakan Seven committed 2026-08-01 20:31:28 +03:00
1 parent 6c62daf260
commit 7b50d6a5a3
5 files changed
+151 -70

No files matched your search

+7
View File
@@ -392,6 +392,13 @@ impl Scene {
let contextual =
crate::scene::annotative::entity_for_active_context(&self.document, source);
let entity = contextual.as_ref();
// Paper-space SOLIDs already carry WCS-aware wire fill triangles.
// Keep their cached XY HatchModel out of the sheet set so the same
// entity is not emitted twice (#617). Model fills projected through
// floating viewports still use `plot_hatches_for_block` below.
if matches!(entity, EntityType::Solid(_)) {
continue;
}
let c = entity.common();
if c.invisible
|| self.entity_temporarily_hidden(handle)