Diffusion Krita 4cbf5ef4826b

Fix backward compatibility for filter layers which don't have new keys

Authored by dkazakov on Oct 10 2019, 4:03 PM.

Description

Fix backward compatibility for filter layers which don't have new keys

Some filter configurations (e.g. HSV-filter) expect that older configs
don't have newly introduced keys (e.g. "compatibilityMode"). Therefore
we shouldn't use default filter configuration as a source when loading
the layer. Instead, we should create a new one, and only then load.

CCBUG:411863

Details

Committed
dkazakovOct 14 2019, 4:04 PM
Parents
R37:f68e3ef17af7: Fix HSL, HSV, HCI and HCY transformations for white and black images
Branches
Unknown
Tags
Unknown