Commit 86f29b4
committed
ModuleService#getSingleInput: skip unfillable inputs
If an input is unfillable (i.e., the ModuleItem's isAutoFill method
returns false), then it is intended that preprocessors not fill in the
input with any sort of preset or "active" data value.
For example, the ActiveDisplayPreprocessor should not fill in a Display
input with the active display if that input is marked autoFill=false.
This fixes a longstanding bug with the Active*Preprocessor classes,
which made it impossible to exclude inputs from being handled by them.
Fixes http://trac.imagej.net/ticket/2022.1 parent 0693a81 commit 86f29b4
File tree
2 files changed
+4
-3
lines changed- src/main/java/org/scijava/module
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
377 | 378 | | |
378 | 379 | | |
379 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
265 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| |||
0 commit comments