forked from 1b-agent/opencadstudio-upstream
feat: expose Spline CV in the Draw expansion
This commit is contained in:
1 parent
b19992cbcb
commit
306d998ebf
4 files changed
+103
-39
No files matched your search
@@ -872,9 +872,13 @@ impl OpenCADStudio {
|
||||
self.tabs[i].active_cmd = Some(Box::new(new_cmd));
|
||||
}
|
||||
|
||||
"SPLINE" => {
|
||||
"SPLINE" | "SPLINECV" => {
|
||||
use crate::modules::draw::draw::spline::SplineCommand;
|
||||
let new_cmd = SplineCommand::new();
|
||||
let new_cmd = if cmd == "SPLINECV" {
|
||||
SplineCommand::control_vertices()
|
||||
} else {
|
||||
SplineCommand::new()
|
||||
};
|
||||
self.command_line.push_info(&new_cmd.prompt());
|
||||
self.tabs[i].active_cmd = Some(Box::new(new_cmd));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user