Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
UX: Fixed timeline selection shifting when inserting hold frames.
Emmet O'Neillcf86a1c8bb9c
diff --git a/plugins/dockers/animation/KisAnimTimelineFramesModel.cpp b/plugins/dockers/animation/KisAnimTimelineFramesModel.cppindex 8d4a3e8af7..0a22d10b6b 100644--- a/plugins/dockers/animation/KisAnimTimelineFramesModel.cpp+++ b/plugins/dockers/animation/KisAnimTimelineFramesModel.cpp@@ -1055,14 +1055,6 @@ bool KisAnimTimelineFramesModel::insertHoldFrames(const QModelIndexList &selectetrue,parentCommand.data());}-- const int oldTime = m_d->image->animationInterface()->currentUITime();- const int newTime = qMax(minSelectedTime, oldTime + count * uniqueKeyframesInSelection.count());-- new KisSwitchCurrentTimeCommand(m_d->image->animationInterface(),- oldTime,- newTime,- parentCommand.data());}KisProcessingApplicator::runSingleCommandStroke(m_d->image, parentCommand.take(),