forked from 1b-agent/opencadstudio-upstream
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:
1 parent
6c62daf260
commit
7b50d6a5a3
5 files changed
+151
-70
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user