Commit 9d2993a
committed
iop/watermark: skip invalidation when disabled
The watermark module receives metadata and tag change signals in every darkroom session, even when it is disabled. Refreshing its pixelpipe cache and clearing mipmap_hash then causes unnecessary work and repeated thumbnail generation.
Ignore both signals while the module is disabled. This keeps enabled watermark text responsive to metadata changes while avoiding invalidation for other images.
Regression from #22103, unreleased.1 parent ab5f4c6 commit 9d2993a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1405 | 1405 | | |
1406 | 1406 | | |
1407 | 1407 | | |
1408 | | - | |
| 1408 | + | |
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | 1412 | | |
1413 | 1413 | | |
1414 | | - | |
| 1414 | + | |
1415 | 1415 | | |
1416 | 1416 | | |
1417 | 1417 | | |
| |||
0 commit comments