feat(draw): continue paths on initial Enter
Start LINE, PLINE, ARC, and SPLINE from the latest path endpoint when Enter accepts the first point. Fall back to the active UCS origin.\n\nRefs #610
This commit is contained in:
parent
796d7d91d0
commit
dccaf95f49
10 changed files with 175 additions and 12 deletions
|
|
@ -132,6 +132,9 @@ pub(super) struct DocumentTab {
|
|||
/// "Previous" keyword at any Select objects prompt (#426).
|
||||
pub(super) prev_selection: Vec<acadrust::Handle>,
|
||||
pub(super) last_cmd: Option<String>,
|
||||
/// Most recently created path drawable. A fresh LINE/PLINE can accept its
|
||||
/// current final endpoint with Enter before the first click.
|
||||
pub(super) last_draw_anchor: Option<Handle>,
|
||||
pub(super) snap_result: Option<SnapResult>,
|
||||
pub(super) active_grip: Option<GripEdit>,
|
||||
pub(super) selected_grips: Vec<GripDef>,
|
||||
|
|
@ -437,6 +440,7 @@ impl DocumentTab {
|
|||
layers: LayerPanel::default(),
|
||||
active_cmd: None,
|
||||
last_cmd: None,
|
||||
last_draw_anchor: None,
|
||||
snap_result: None,
|
||||
active_grip: None,
|
||||
selected_grips: vec![],
|
||||
|
|
|
|||
Loading…
Reference in a new issue