diff --git a/src/scene/cache/properties.rs b/src/scene/cache/properties.rs index fe199e88..974fc5a2 100644 --- a/src/scene/cache/properties.rs +++ b/src/scene/cache/properties.rs @@ -36,11 +36,6 @@ pub fn general_section(entity: &EntityType) -> PropSection { let mut section = PropSection { title: t!("General").into_owned(), props: vec![ - Property { - label: t!("Handle").into_owned(), - field: "handle", - value: PropValue::ReadOnly(common.handle.value().to_string()), - }, Property { label: t!("Color").into_owned(), field: "color", @@ -94,12 +89,7 @@ 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"); - } - if matches!(entity, EntityType::Point(_)) { - section.props.retain(|prop| prop.field != "handle"); let hyperlink = section.props.iter().position(|prop| prop.field == "hyperlink"); let transparency = section.props.iter().position(|prop| prop.field == "transparency"); if let (Some(hyperlink), Some(transparency)) = (hyperlink, transparency) {