forked from 1b-agent/opencadstudio-upstream
Align rectangle property data
This commit is contained in:
1 parent
be40b76922
commit
8dc9803c02
3 files changed
+68
-16
No files matched your search
Vendored
+4
@@ -91,6 +91,10 @@ pub fn general_section(entity: &EntityType) -> PropSection {
|
||||
],
|
||||
};
|
||||
|
||||
if matches!(entity, EntityType::LwPolyline(polyline) if crate::entities::lwpolyline::is_rectangle(polyline)) {
|
||||
section.props.retain(|prop| prop.field != "handle");
|
||||
}
|
||||
|
||||
// Thickness (DXF 39) is a General-group property, but only the entity
|
||||
// types that carry an extrusion thickness expose it (line, circle, arc,
|
||||
// polyline, text, 2D solid, …). Show it right after Hyperlink for those.
|
||||
|
||||
Reference in new issue
Block a user