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

            Bug ID: 391666
           Summary: Python timeline/animation API
           Product: krita
           Version: 4.0.0-beta.1
          Platform: unspecified
                OS: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: azkex...@gmail.com
  Target Milestone: ---

During my testing of the new python scripting, I've found that there's almost
no access to the timeline/animation in the API. Ideally, there would be at
least methods for getting and setting the current time. 

The functionality of setting the time would be essentially the same as if you
had dragged the playhead in the timeline docker, updating both the canvas and
the timeline docker. It would also be nice if there were a time/frame change
signal to be able to hook into. 

Example code:
document = Krita.instance().activeDocument()
document.currentTime()
document.setTime(10)

My use case:
I was attempting to make an X-sheet docker, which would essentially just be a
table that allowed you to add notes to each frame, highlight the current frame
you're on, and navigate to a frame directly from the table.

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

Reply via email to