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

Scott Petrovic <scottpetro...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scottpetro...@gmail.com

--- Comment #3 from Scott Petrovic <scottpetro...@gmail.com> ---
I played around a bit with Python and animation and this is kind of where it
stands with doing animation related things

You can access to see if a node (layer) has animation turned on. 
You can enable animation for the layer. Animation is off by default for a
layer.

You can then use actions to do some animation functions

python stuff I did in the internal scripter...

import sys
from krita import *

for doc in Krita.instance().documents():
    print( doc.activeNode().animated())
    doc.activeNode().enableAnimation()

    # grab and call an existing action
    Krita.instance().action("next_frame").trigger()


...end python code

I think just about all the animation actions right now are in the krita.action
file. There should be an "action" folder in your installation where you can see
them all. They are just big XML files.

I don't see any actions with "go to frame #". There are a lot of actions with
play/stop, previous/next frame, and inserting/deleting frames.

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

Reply via email to