Diffusion Krita 4e45f39cce91

Opacity Keyframes Cache Correction -- Data-Race Correction

Authored by eoinoneill on Mar 11 2020, 10:18 PM.

Description

Opacity Keyframes Cache Correction -- Data-Race Correction

Fixed Data-Race issue where DefaultBounds were incorrectly cloned when
cloning an image. This datarace caused undefined behavior that is now
corrected and helps with rendering Opacity Keyframes.

Added a new KisDefaultBoundsNodeWrapper class to handle bounds accessing
and checking inside of keyframe channels. This allows for easier copy
constructors for KisKeyframeChannels and helps keep data pointer logic
more consistent.

Now, when images are cloned, they are always pointing to the correct
time index.

(cherry picked from commit 2007269642067b388e4b2698afd8bf97b6727051)

Details

Committed
remptApr 2 2020, 1:09 PM
Parents
R37:6f098c2274c4: Opacity Keyframes Cache Correction -- Affected Frames Correction
Branches
Unknown
Tags
Unknown