Capture Position question: starting a command or saving while components were moved without capturing asks Capture Position / Revert / Cancel, then goes ahead; ui.capture control method
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AS5Tn3xieewUSg3uxrMVdL
This commit is contained in:
1 parent
9bd7c8eb33
commit
fec99468d2
6 files changed
+122
No files matched your search
@@ -365,6 +365,11 @@ impl SolveApp {
|
||||
/// Start a command the way a toolbar click does: interactive tools and dialogs for commands
|
||||
/// that have them, otherwise run it with defaults.
|
||||
pub fn start(&mut self, id: &str) {
|
||||
// A component moved without Capture Position: ask first (Capture, Revert or Cancel).
|
||||
if browser::needs_capture(self, id) {
|
||||
self.tree.capture_prompt = Some(id.to_string());
|
||||
return;
|
||||
}
|
||||
self.tool = None;
|
||||
self.home.open = false;
|
||||
if matches!(id, "FusionImportCommandFromToolbar" | "ParaMeshInsertAlignCommand") {
|
||||
|
||||
Reference in new issue
Block a user