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

            Bug ID: 409414
           Summary: pixelDataAtTime seems to empty the last frame read.
           Product: krita
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: griffinval...@gmail.com
  Target Milestone: ---

Created attachment 121286
  --> https://bugs.kde.org/attachment.cgi?id=121286&action=edit
Python script that shows the inappropriate behaviour.

SUMMARY
When trying to make a spritesheet python script, pixelDataAtTime is called to
get a bytearray that can then be copied to a target.


STEPS TO REPRODUCE
1. Take a small animation.
2. Run the attached python script while having an animated layer active.
3. Flip between layers, and observe how the last keyframe of the layer the
script is run on is now empty.

OBSERVED RESULT
the last frame is emptied.

EXPECTED RESULT
just reading the data of the last frame shouldn't do anything to it?

System info:
-------------------
Krita

 Version: 4.3.0-prealpha (git d649293)
 Languages: en_US, en_GB, nl
 Hidpi: true

Qt

  Version (compiled): 5.12.3
  Version (loaded): 5.12.3

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.15.0-52-generic
  Pretty Productname: KDE neon User Edition 5.16
  Product Type: neon
  Product Version: 18.04

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

Reply via email to