forked from 1b-agent/opencadstudio-upstream
Complete freehand sketch workflow
This commit is contained in:
1 parent
bb49f92e99
commit
e3bfbf1590
11 files changed
+620
-108
No files matched your search
@@ -475,7 +475,12 @@ impl OpenCADStudio {
|
||||
|
||||
"SKETCH" => {
|
||||
use crate::modules::draw::draw::sketch::SketchCommand;
|
||||
let new_cmd = SketchCommand::new();
|
||||
let header = &self.tabs[i].scene.document.header;
|
||||
let new_cmd = SketchCommand::new(
|
||||
header.sketch_type,
|
||||
header.sketch_increment,
|
||||
header.sketch_tolerance,
|
||||
);
|
||||
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