From e9e32c38e15f3cbd61967ce994a4e50f6f37581a Mon Sep 17 00:00:00 2001 From: Steve King <12994437+steveking-gh@users.noreply.github.com> Date: Wed, 16 Sep 2026 20:06:00 -0700 Subject: [PATCH] fix(extrude): commit typed height from dynamic input on Enter ExtrudeCommand never opted into dyn_commit_as_text(), so a typed Enter fell through to generic point-resolution instead of on_text_input, producing a near-zero height that silently failed to commit. Mirror PresspullCommand's pattern, gated to the Height step. Co-Authored-By: Claude Sonnet 5 --- src/modules/insert/solid3d_cmds.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/insert/solid3d_cmds.rs b/src/modules/insert/solid3d_cmds.rs index 5e4d5d129..8b8cb8173 100644 --- a/src/modules/insert/solid3d_cmds.rs +++ b/src/modules/insert/solid3d_cmds.rs @@ -472,6 +472,9 @@ impl CadCommand for ExtrudeCommand { fn dyn_live_value(&self, cursor: DVec3) -> Option { Some((cursor - self.anchor).dot(self.profile_direction?)) } + fn dyn_commit_as_text(&self) -> bool { + self.step == ExtrudeStep::Height + } fn is_selection_gathering(&self) -> bool { self.step == ExtrudeStep::Pick }