forked from 1b-agent/opencadstudio-upstream
refactor(modules): rename home module to draw, restore first-tab order
The Home tab was already titled "Draw"; rename the module to match:
folder modules/home → modules/draw, HomeModule → DrawModule, id "home"
→ "draw". The inner draw/ command folder is kept (modules::draw::draw).
Update build.rs PRIORITY ("home" → "draw") so the tab returns to the
front of the ribbon; registry.rs regenerates accordingly.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
c6152ef705
commit
3666c7fa69
85 files changed
+141
-141
No files matched your search
+2
-2
@@ -129,7 +129,7 @@ pub enum CmdResult {
|
||||
/// Apply a polyline-edit operation to one entity; keep command active.
|
||||
PeditOp {
|
||||
handle: Handle,
|
||||
op: crate::modules::home::modify::pedit::PeditOp,
|
||||
op: crate::modules::draw::modify::pedit::PeditOp,
|
||||
},
|
||||
/// Place Point entities at N equal intervals along the entity.
|
||||
DivideEntity { handle: Handle, n: usize },
|
||||
@@ -139,7 +139,7 @@ pub enum CmdResult {
|
||||
LengthenEntity {
|
||||
handle: Handle,
|
||||
pick_pt: Vec3,
|
||||
mode: crate::modules::home::modify::lengthen::LenMode,
|
||||
mode: crate::modules::draw::modify::lengthen::LenMode,
|
||||
},
|
||||
/// Align selected entities: translate to dst1, rotate by angle_rad, optional scale.
|
||||
AlignSelected {
|
||||
|
||||
Reference in new issue
Block a user