Commit a7f0c35
committed
Set pinhole thickness to zero when disabled
This ensures that the thickness of any layer is properly set to zero
when they are disabled - including the pinhole.
Layers having a thickness of zero is what indicates that they don't
exist. This is properly handled in the absorption correction math.
Fixes: #1922
Signed-off-by: Patrick Avery <[email protected]>1 parent 3908ff0 commit a7f0c35
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
313 | 316 | | |
314 | 317 | | |
315 | 318 | | |
| |||
348 | 351 | | |
349 | 352 | | |
350 | 353 | | |
351 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
352 | 358 | | |
353 | 359 | | |
354 | 360 | | |
| |||
0 commit comments