Diffusion Krita 54928c456fe0

Fix cloning not-opacity scalar keyframe channels

Authored by tymond on Jun 28 2019, 10:58 AM.

Description

Fix cloning not-opacity scalar keyframe channels

Before this commit, duplicating a layer with keyframe channels
that weren't specifically an opacity keyframe channel resulted in
loss of those channels. This commit provides an universal solution for
all scalar kyeframe channels available.

At this point there is no way of making a scalar keyframe channel
except for opacity keyframes unless you make a change in the code and
compile it yourself (see animation_docker.cpp, line 508), so there
is/should be no change in behaviour for users. However if you enable
animated transform masks, this become crucial for both duplicating
layers and saving the file with keyframes (it doesn't work for now,
but without this commit it most probably wouldn't).

Details

Committed
tymondJun 28 2019, 10:58 AM
Parents
R37:0da6c85ba240: Active the crash handler earlier
Branches
Unknown
Tags
Unknown