Commit Graph
621 Commits
Author SHA1 Message Date
ThomasWilshaw da275efdf2 Merge branch 'master' into rational_slider 2021-04-14 12:08:58 +01:00
itsmattkc c49e5ef1b3 footage: don't disable audio cache 2021-04-14 13:46:53 +10:00
itsmattkc 6481304206 node: set ignore node when positioning and shifting recursively 2021-04-14 10:13:45 +10:00
itsmattkc afed4f48d4 removed unused qfloat16 includes
Should lower our Qt minimum version requirement to 5.6
2021-04-13 23:43:56 +10:00
itsmattkc 040f065483 footage: set viewer preferences before setting filename 2021-04-13 15:42:32 +10:00
itsmattkc 76eb117a45 viewer: return null params if not in array
Suppresses warning about input array sizes.
2021-04-13 15:40:27 +10:00
itsmattkc 46e00c0099 viewer: store video/audio length outside of cache 2021-04-13 15:39:45 +10:00
itsmattkc 2ff04f2045 nodes: allow inserting inputs at arbitrary indexes 2021-04-13 13:06:52 +10:00
Simran fca485bd69 Fix plural handling for translations (#1424)
* .arg() doesn't handle plurals, replace %1 with %n and pass number to tr(), but only if there is an accompanying word for that we want singular/plural translations and only for whole numbers.

* Qt's translation methods only accept integers and we don't know what grammatical number form would be correct for floating-point numbers in different languages anyway.

* Add optional 2nd argument to SliderBase::SetFormat() to activate deferred plural handling:
  SetFormat(QT_TRANSLATE_N_NOOP("olive::SliderBase", "%n unit(s)"), true)

* Generate en_US.ts with lupdate's -pluralonly option. Only source strings that require plural handling need to be translated (as long as the source language is American English).
2021-04-13 00:58:46 +02:00
itsmattkc c03c197412 added ability to open viewers on any viewer node or derivative
Fixes #1362

Also fixes some other bugs that impeded this from working.
2021-04-12 22:58:34 +10:00
ThomasWilshaw ecce4d1ae2 Merge branch 'master' into rational_slider 2021-04-12 10:42:26 +01:00
itsmattkc 893adc3d72 implemented value node
Also implements changes necessary to support an input data type
that changes. Much of that foundation was built in
`nodearchchanges`, but hadn't been finalized. This commit
finalizes and provides a reference implementation/test with the
"Value" node.

Fixes #1443
2021-04-12 16:37:26 +10:00
itsmattkc 7701e9331f block: reimplemented reversing 2021-04-12 11:05:45 +10:00
itsmattkc da9cdbd29e block: disable connecting and keyframing speed parameter
We're going to replace keyframing this with a time remap node
because that will be much simpler to implement.

Fixes #1192.
Fixes #1204.
2021-04-12 10:35:02 +10:00
itsmattkc 46ee99264d footage: fixed crash with audio-only files 2021-04-12 09:48:08 +10:00
itsmattkc 515d459d36 nodeparamview: make keyframes on every key track by default
Fixes #1437
2021-04-11 19:38:29 +10:00
itsmattkc afedea7342 restore old node positioning code
New code didn't work.
2021-04-11 18:57:42 +10:00
itsmattkc a87adbd801 fixed precache task
Fixes #1558
2021-04-11 18:57:21 +10:00
itsmattkc 6c30f8cf46 nodes: implemented infrastructure for caching any node
Not accessible through UI yet, but ported Footage node to it
(previously we used a hack to ensure Footage textures were
cached, now it's a formal infrastructure).
2021-04-11 18:56:39 +10:00
itsmattkc 210eb86cd2 nodes: fixed hashing issues 2021-04-11 18:54:22 +10:00
itsmattkc f9b60538fc project: removed footage comparison code that had been stubbed anyway 2021-04-11 18:52:12 +10:00
itsmattkc e89e348f6e nodegraph: delete nodes bottom to top when clearing 2021-04-11 12:59:25 +10:00
itsmattkc 700b56d43f node: limit bounding rect when detecting node collisions
Hopefully prevents the possibility of an infinite loop.
2021-04-11 12:20:50 +10:00
itsmattkc b161ff710d project: fix bug disconnecting folders 2021-04-10 13:22:26 +10:00
Thomas Wilshaw cb0cfebf40 Fix clamping bug, 2021-04-09 11:57:49 +01:00
Simran 58c2092153 Add missing Q_OBJECT macro to CropDistortNode 2021-04-08 11:08:19 +02:00
itsmattkc f03052ee74 remove superfluous semicolon 2021-04-08 19:05:52 +10:00
itsmattkc db3644e2f8 actually commit override color get function 2021-04-08 19:05:39 +10:00
itsmattkc 5b0332260f revise operation cache blocking system
Fixes #1553
2021-04-08 19:05:12 +10:00
itsmattkc ba0eb2335b copy color when duplicating node 2021-04-08 18:03:59 +10:00
itsmattkc cb75e37e77 moved several files around
Mostly moved classes that became node derivatives into the node/ folder.
2021-04-08 12:15:59 +10:00
itsmattkc 2dc27de37c ensure frame rate and sample rate changes ripple through widgets 2021-04-08 10:44:32 +10:00
itsmattkc eef19ca0ff streamlined viewable-based lengths 2021-04-08 09:46:31 +10:00
itsmattkc bb32048c65 use frame rate and timebase less interchangeably 2021-04-07 13:08:25 +10:00
itsmattkc 898ea25e89 finished merge of viewer and footage 2021-04-06 13:08:56 +10:00
itsmattkc 4066fcba90 began merging footage and viewer 2021-04-05 16:41:37 +10:00
itsmattkc e5264fa394 use operation stack when disconnecting 2021-04-05 14:47:04 +10:00
itsmattkc 9be014c0b6 refactored so sequence is again a derivative of viewer 2021-04-05 14:41:59 +10:00
itsmattkc 23b1226ef4 fixed broken copy/paste 2021-03-25 22:48:03 +11:00
itsmattkc cd6544ba64 fixed erroneous hold keyframe logic
Fixes #1326
2021-03-22 23:28:43 +11:00
itsmattkc 9b6fe7e308 track: null check when looking up a block's in/out time adjustment
Fixes #1517
2021-03-22 12:15:13 +11:00
itsmattkc 78e0777c27 fixed title node when using light theme
Fixes #1496
2021-03-22 12:05:36 +11:00
itsmattkc fb410e7c96 use vectors for sample buffers rather than raw ptr arrays 2021-03-17 11:54:14 +11:00
itsmattkc 056a1202d6 added new auto-positioning to place block command 2021-03-14 22:09:59 +11:00
itsmattkc 82d6daa3da fixed bug in node dependency positioning 2021-03-14 21:52:05 +11:00
itsmattkc 2a9513e56a added new node auto-positioning for items 2021-03-14 21:09:00 +11:00
itsmattkc 500fb58d49 arranged items so they are inputs of folder rather than outputs 2021-03-12 12:22:19 +11:00
itsmattkc a57bf35e93 don't copy items when splitting or duplicating blocks 2021-03-01 13:27:13 +11:00
itsmattkc cfbf563b2e ensure cache modified time is accurate 2021-02-22 00:23:34 +11:00
itsmattkc 7fee0e6b04 suppress some benign warnings 2021-02-21 10:23:06 +11:00