REFEDIT: reference prompts, -REFEDIT, REFSET, nested references, xref write-back

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-13 15:52:26 +03:00
1 parent b1d4c9bd9b
commit 6784f89993
16 files changed
+1296 -380

No files matched your search

+4
View File
@@ -1177,6 +1177,7 @@ impl OpenCADStudio {
break;
};
last_label = snapshot.label().to_string();
let step_label = last_label.clone();
match snapshot {
HistorySnapshot::Delta(mut d) => {
// Symmetric: undo applies the before side, then the same
@@ -1211,6 +1212,7 @@ impl OpenCADStudio {
.push(HistorySnapshot::ObjectVisibility(v));
}
}
self.refedit_after_history_step(i, &step_label, true);
}
self.finish_history_apply(i, had_full, layer_panel_changed, &changes);
self.command_line
@@ -1237,6 +1239,7 @@ impl OpenCADStudio {
break;
};
last_label = snapshot.label().to_string();
let step_label = last_label.clone();
match snapshot {
HistorySnapshot::Delta(mut d) => {
layer_panel_changed |= d.structure.as_ref().is_some_and(|structure| {
@@ -1268,6 +1271,7 @@ impl OpenCADStudio {
.push(HistorySnapshot::ObjectVisibility(v));
}
}
self.refedit_after_history_step(i, &step_label, false);
}
self.finish_history_apply(i, had_full, layer_panel_changed, &changes);
self.command_line