Complete rectangular and polygonal revision clouds directly

This commit is contained in:
ramox81 committed 2026-09-11 10:39:12 +03:00
1 parent 7d0c059b30
commit 6c07892d07
1 file changed
+6
+6
View File
@@ -199,6 +199,12 @@ impl RevCloudCommand {
entity.common_mut().handle = Handle::NULL;
}
}
if replacement.is_none()
&& matches!(self.creation, CreationMode::Rectangular | CreationMode::Polygonal)
{
self.message = None;
return CmdResult::CommitAndExit(entity);
}
self.stage = Stage::Reverse(PendingCloud {
entity,
replacement,