Commit Graph
22 Commits
Author SHA1 Message Date
itsmattkc 32e11bb6a1 footage: clamp to last frame rather than length
Fixes #1604
2021-05-03 22:18:40 +10:00
itsmattkc c765c96807 footage: fix bug with loop mode that prevented stills from showing 2021-04-30 11:24:17 +10:00
itsmattkc 65d7b82090 footageviewer: set divider 2021-04-29 22:25:03 +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 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 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 f230bed709 sequence: allow default nodes without undo command 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 22b2d08baf rational: implement NaN mode
Also clarify code where 0 is used as a rational.
2021-04-17 15:04:03 +10:00
itsmattkc c49e5ef1b3 footage: don't disable audio cache 2021-04-14 13:46:53 +10:00
itsmattkc 040f065483 footage: set viewer preferences before setting filename 2021-04-13 15:42:32 +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
itsmattkc 46ee99264d footage: fixed crash with audio-only files 2021-04-12 09:48:08 +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 b161ff710d project: fix bug disconnecting folders 2021-04-10 13:22:26 +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 b21271534f added UI for editing video parameters in nodes 2021-02-20 13:27:56 +11:00