Commit Graph

10 Commits

Author SHA1 Message Date
Lucie Gérard 28bba0ad93 Correct license for test files
According to QUIP-18 [1], all test files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I966d4033a73aacabb39f582270f2f1c18e2bcecd
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-04-23 06:28:57 +00:00
Lucie Gérard 2f1bc82b35 Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.

Pick-to: 6.4
Task-number: QTBUG-67283
Change-Id: I8105424281eed871037fa6c463871ca8829876b5
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-06-22 10:47:10 +02:00
Mike Krus 174cd487b4 Make sample meshes geometry renderers again
Introduce new geometry view class for each.

Change-Id: I8e9a8f3a078d4cc63f9656ae8142e39f05d755c7
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2020-07-30 13:51:37 +01:00
Mike Krus 5bf4f93fcb Make default geometries views
In Extras, make QTorusMesh and others a QGeometryView rather than
a QGeometryRenderer. Requires changes to scene graphs here and there
but going forward there simple shapes could be used as proxies for
picking or collision detection, etc.

Change-Id: Id488e064080dfd303e448aba11e6b242236b81d4
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2020-02-27 12:10:08 +00:00
Christian Strømme f6a9174e5e Add normalizedTime function to blendedlclip animators
Change-Id: I19c1907371d9d131295558eb19c297d544ebef7d
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2018-01-23 18:23:31 +00:00
Juan José Casafranca f0153ae8b1 Fix animation local time calculation when changing playbackRate
Animation local time was computed in absolute mode, as a scale of the
global time that has passed since the start of the animation. Now is
computed relative to the last local time, as the last local time + a
scale of the elapsed global time.

Change-Id: I5c29002602a5184174618ac7755ec94f5c7a328f
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
2017-10-06 12:10:05 +00:00
Sean Harmer e0541bb009 Fix license headers in manual tests
Change-Id: I5469f6724ad28d171dd8ee631e89410f78919497
Reviewed-by: Mike Krus <mike.krus@kdab.com>
2017-04-12 18:37:39 +00:00
Sean Harmer d400878048 Fix QML registration of QAnimationClipLoader
Change-Id: I8fae537aa38059ff2592c2f49c238408ea27f7e0
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
2017-04-03 10:25:23 +00:00
Sean Harmer 14538a9012 Update animation-keyframe-blendtree example
To use new json format and blend tree node API. Now wondering if we
should drop the "clip" suffix from blend tree node properties as they
can be other sub-trees not just values (clips).

Change-Id: I96e83a84722a983c2929aa2bbfc4b41c3c2c7dd1
Reviewed-by: Mike Krus <mike.krus@kdab.com>
2017-03-25 14:24:03 +00:00
Sean Harmer 2519573517 Split blend tree manual test out from simple key frame test
Change-Id: I9aba21499008980f3bd07efb14c912961090ecb1
Reviewed-by: Mike Krus <mike.krus@kdab.com>
2017-03-02 21:03:26 +00:00