summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Qt3DStudio/Palettes
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2019-09-05 16:50:44 +0300
committerMahmoud Badri <mahmoud.badri@qt.io>2019-09-10 11:01:32 +0300
commit8638b5223793620d56d81a7b0383c6397d5018d7 (patch)
treef268772d8d10e3b687defafc9443cc9960529344 /src/Authoring/Qt3DStudio/Palettes
parent82d35c552c770050f0d248b562f46ac1ecfdaed7 (diff)
Limit control points after a bezier keyframe is moved
For bezier keyframes check that control points of the moved keyframe and the keyframes before and after it don't go beyond its adjacent keyframes times. Task-number: QT3DS-3928 Change-Id: I957f15cf874a2de720ec21723bdf5076fae40caa Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Qt3DStudio/Palettes')
-rw-r--r--src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/KeyframeManager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/KeyframeManager.cpp b/src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/KeyframeManager.cpp
index f00d7117..a4248fad 100644
--- a/src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/KeyframeManager.cpp
+++ b/src/Authoring/Qt3DStudio/Palettes/TimelineGraphicsView/KeyframeManager.cpp
@@ -141,7 +141,6 @@ QList<Keyframe *> KeyframeManager::selectedKeyframes() const
return m_selectedKeyframes;
}
-// update bindings after selected keyframes are moved
void KeyframeManager::commitMoveSelectedKeyframes()
{
Q3DStudio::ScopedDocumentEditor editor(*g_StudioApp.GetCore()->GetDoc(),