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

Sergey Morozov <ser...@morozov.top> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ser...@morozov.top

--- Comment #1 from Sergey Morozov <ser...@morozov.top> ---
I can reproduce this bug on 5.1.0(on arch linux) with simpler example.

current_document = Krita.instance().activeDocument()
current_node = current_document.activeNode()
parent = current_node.parentNode()
children = parent.childNodes()
print([child.name() for child in children])
parent.setChildNodes(children)
children = parent.childNodes()
print([child.name() for child in children])

Example output:

['Selection Mask', 'Background', 'Paint Layer 1', 'diffusion 0', 'diffusion 1']
['Background', 'Paint Layer 1', 'diffusion 0', 'diffusion 1', 'Selection Mask']

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

Reply via email to