https://bugs.kde.org/show_bug.cgi?id=482491

--- Comment #9 from Yncke <[email protected]> ---
Retested with Krita 5.2.13 (Debian 12, AppImage) and the workaround doesn't
seem to be working, I'm afraid.

I'm using this script: 
```python
from krita import *

app = Krita.instance()
doc = app.activeDocument()
currentNode = doc.activeNode()
filter = app.filter("perchannel")

config = filter.configuration()
config.setProperty("nTransfers", "8")
config.setProperty("curve0", "0.168092,0;0.962877,1;")
for index in range(1, 8):
    config.setProperty(f"curve{index}", "0,0;1,1;")
filter.setConfiguration(config)
colorAdjustment = doc.createFilterMask("Color Adjustment", filter, currentNode)
currentNode.addChildNode(colorAdjustment, None)
```

Indeed, if you print the config properties in the script, it says the value is
set. But when I then open the Color Adjustment layer in Krita itself, the first
(or zeroth, depending on how you count) is the set to the default curve.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to