Let the fill show the model an open void: mirror depth 0 means no ring and nothing known beyond the band

This commit is contained in:
2026-09-20 10:56:38 +02:00
parent 3de109fbd1
commit b1c99b5796
8 changed files with 155 additions and 31 deletions
+5 -1
View File
@@ -181,7 +181,11 @@ impl FillSettings {
params: dr_pano::FillParams {
coarse: self.params.coarse,
band: px(self.params.band).max(8),
mirror_depth: px(self.params.mirror_depth),
mirror_depth: if self.params.mirror_depth == 0 {
0
} else {
px(self.params.mirror_depth)
},
feather: if self.params.feather == 0 {
0
} else {
+1 -1
View File
@@ -339,7 +339,7 @@ pub fn wire<S, C, F>(
"erosion" => f.erosion = v,
"coarse" => f.params.coarse = v.max(1),
"band" => f.params.band = v.max(8),
"mirror" => f.params.mirror_depth = v.max(1),
"mirror" => f.params.mirror_depth = v,
"feather" => f.params.feather = v,
_ => return,
}