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

--- Comment #3 from wolthera <griffinval...@gmail.com> ---
Uhm, well, I noticed it when running the comic project management tools, and
that it only happened with a layer which contents contained file layers. I
cannot reproduce it with your script either. Are you sure it produces a valid
file layer?

I do get it with:
-------------------

import sys
from krita import *

def test():
    d = Application.openDocument(Application.recentDocuments()[-1])

    root = d.rootNode();
    print(root.childNodes())
    l2 = d.createFileLayer("fl",
"/home/boud/Pictures/environments-16-ziggurat-view_1920x489.png",
"ImageToSize")
    print(l2)
    root.addChildNode(l2, None)
    print(root.childNodes())
    d.close()


test()

-------------------

Where the last document I had open was a file with a file layer.

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

Reply via email to