feat: expose Construction Line in the Draw expansion

This commit is contained in:
ramox81 committed 2026-09-10 15:57:18 +03:00
1 parent b19992cbcb
commit dc83a3e5fa
3 files changed
+9 -1

No files matched your search

-1
View File
@@ -167,7 +167,6 @@ impl CadCommand for XLineCommand {
Vector3::new(base.x, base.y, base.z),
Vector3::new(dir_n.x, dir_n.y, dir_n.z),
);
self.base = None;
CmdResult::CommitEntity(EntityType::XLine(xline))
} else {
self.base = Some(pt);
+6
View File
@@ -0,0 +1,6 @@
Tool {
command: "XLINE",
label: "Construction Line",
icon: include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), "/assets/icons/xline.svg")),
options: &[],
}