Commit Graph
654 Commits
Author SHA1 Message Date
itsmattkc 8383929476 track/audioplaybackcache: re-did binary search algorithms
Fixes #1617
Fixes #1615
2021-05-10 10:42:07 +10:00
itsmattkc 32e11bb6a1 footage: clamp to last frame rather than length
Fixes #1604
2021-05-03 22:18:40 +10:00
itsmattkc 8cc9c0e853 traverser: update for new loop mode 2021-04-30 11:31:00 +10:00
itsmattkc c765c96807 footage: fix bug with loop mode that prevented stills from showing 2021-04-30 11:24:17 +10:00
itsmattkc 36466d0f9b nodefactory: removed unnecessary debug line 2021-04-29 23:40:30 +10:00
itsmattkc 65d7b82090 footageviewer: set divider 2021-04-29 22:25:03 +10:00
itsmattkc df861fb33d viewer: if only video stream is still, don't use as rate in project explorer
Minor UI improvement
2021-04-29 11:26:11 +10:00
itsmattkc b66b1079fa project: set default nodes to undeletable
Project assumes these nodes are there so ensure they can't be deleted
2021-04-29 00:42:28 +10:00
itsmattkc 52076b19fc timeline: added more signalling when tracklists change
Fixes #1591
2021-04-27 10:08:04 +10:00
itsmattkc 542e5f4f7b nodes: actually use array value rather than hardcoding to true
Wow.
2021-04-26 21:59:17 +10:00
itsmattkc 660e68b56a fixed transition bugs
Fixes #1522
2021-04-26 21:45:04 +10:00
itsmattkc f4e1856d30 clip: use super macro
Minor code improvement.
2021-04-26 21:45:04 +10:00
itsmattkc e2a590da26 timeline: remove transitions when removing clips
Fixes #1224
2021-04-26 20:29:21 +10:00
itsmattkc 573597bec3 track: use binary search for blocks
Minor optimization for longer sequences.
2021-04-24 18:21:33 +10:00
itsmattkc 1fca3e1767 render: properly defined "out of bounds time" behavior with footage
If a user extends a clip beyond the footage's length, they can
choose whether they want a black frame, the last frame continued,
or for the footage to loop infinitely (same for extending earlier
than the start of footage).
2021-04-23 14:49:21 +10:00
itsmattkc 445d276cd0 nodes: further optimized merge node to passthrough RGB blend textures 2021-04-23 11:01:08 +10:00
itsmattkc 74ad4110be transform: hash the generated matrix
Making an exception for the transform node, we use a slightly
heavier hash to save more rendering time later.

Fixes #1560
Addresses some of #1360
2021-04-22 18:01:26 +10:00
itsmattkc 97b9bcc79f nodes: merged gizmotraverser and nodetabletraverser into nodetraverser
No real reason for these other derivatives that did virtually
the same thing.
2021-04-22 12:52:10 +10:00
itsmattkc f230bed709 sequence: allow default nodes without undo command 2021-04-22 11:50:24 +10:00
itsmattkc d4a2f1d6bc colormanager: don't list spaces if config is null 2021-04-22 11:50:24 +10:00
itsmattkc 269fa6d905 remove block enum
Replaced with dynamic casts.
2021-04-22 11:50:24 +10:00
itsmattkc 77d4b18a60 updated copyright year for 2021 [skip ci] 2021-04-17 18:56:50 +10:00
itsmattkc e410eb2aa6 nodefactory: minor code change 2021-04-17 15:13:33 +10:00
itsmattkc 8a5613bed7 nodes: improve timeremap hashing 2021-04-17 15:13:18 +10:00
itsmattkc 3ce693ac16 timeinput: add missing punctuation 2021-04-17 15:04:51 +10:00
itsmattkc 47c0282865 node: use input limiting array when hashing 2021-04-17 15:04:24 +10:00
itsmattkc 22b2d08baf rational: implement NaN mode
Also clarify code where 0 is used as a rational.
2021-04-17 15:04:03 +10:00
itsmattkc 88ebfb9d8e nodefactory: added time remap node 2021-04-17 15:02:56 +10:00
itsmattkc 98fc6d9ef1 nodes: implemented crude time remapping node
Doesn't support audio yet.
2021-04-17 15:01:28 +10:00
itsmattkc 1a848dc440 track: cache length change invalidations and release when not dragging
Not sure if this is the best solution, we'll see. Fixes issue
where cache wouldn't respond to length slider.
2021-04-17 12:50:58 +10:00
itsmattkc 9328539373 slider: reworked sliderbase and derivatives
Mostly cleaning up code, SliderBase was fairly messy.
2021-04-17 12:49:21 +10:00
itsmattkc 61efd37744 Merge branch 'rational_slider' of https://github.com/ThomasWilshaw/olive into ThomasWilshaw-rational_slider 2021-04-16 14:15:58 +10:00
itsmattkc 0d315d668a Revert "node: set ignore node when positioning and shifting recursively"
This reverts commit 6481304206.
2021-04-14 23:10:08 +10:00
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