forked from 1b-agent/opencadstudio-upstream
Make Solid History choices editable
This commit is contained in:
1 parent
04a9a1b0a0
commit
eb83e551b8
2 files changed
+58
-17
No files matched your search
@@ -1439,21 +1439,7 @@ pub fn primitive_properties(
|
||||
handle: acadrust::Handle,
|
||||
) -> Vec<PropSection> {
|
||||
let Some(operation) = document.solid_history_operation(handle) else {
|
||||
return vec![PropSection {
|
||||
title: t!("Solid History").into_owned(),
|
||||
props: vec![
|
||||
Property {
|
||||
label: t!("History").into_owned(),
|
||||
field: PROP_HISTORY,
|
||||
value: PropValue::ReadOnly("None".to_string()),
|
||||
},
|
||||
Property {
|
||||
label: t!("Show History").into_owned(),
|
||||
field: PROP_SHOW_HISTORY,
|
||||
value: PropValue::ReadOnly("No".to_string()),
|
||||
},
|
||||
],
|
||||
}];
|
||||
return brep_properties(document, handle);
|
||||
};
|
||||
match operation {
|
||||
SolidHistoryOperation::Box(value) => {
|
||||
|
||||
Reference in new issue
Block a user