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:
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user