forked from 1b-agent/opencadstudio-upstream
Accept close keywords for polygonal revision clouds
This commit is contained in:
1 parent
6c07892d07
commit
6747cce1a8
1 file changed
+3
@@ -725,6 +725,9 @@ impl CadCommand for RevCloudCommand {
|
||||
return self.on_undo_step();
|
||||
}
|
||||
Stage::Create => match keyword.as_str() {
|
||||
"C" | "CLOSE" if self.creation == CreationMode::Polygonal => {
|
||||
return Some(if self.points.len() >= 3 { self.on_enter() } else { CmdResult::NeedPoint });
|
||||
}
|
||||
"A" | "ARC" | "ARCLENGTH" => self.stage = Stage::ArcLength,
|
||||
"O" | "OBJECT" => {
|
||||
self.stage = Stage::Object;
|
||||
|
||||
Reference in new issue
Block a user