Commit Graph
1141 Commits
Author SHA1 Message Date
itsmattkc c97147bfca Merge pull request #1573 from ThomasWilshaw/Fix#1571_Fullscreen_crash
viewer: Safely delete full screen widget
2021-04-17 08:39:46 +10:00
Thomas Wilshaw 8142df7a04 viewer: Don't hide the widget before deleting 2021-04-16 20:15:10 +01:00
itsmattkc ce0290c762 scopebase: handle texture creation/destruction better 2021-04-16 12:06:58 +10:00
Thomas Wilshaw 600c9bbe6b viewer: Safely delete full screen widget
Hide the full screen widget and then use deleteLater() rather than
delete.

Fixes #1571
2021-04-14 17:38:45 +01:00
itsmattkc 3ffb2fde1c audiomonitor: use mipmapped waveform
Since we have these now, may as well use them. This should
improve general playback performance since the audio monitor
will be able to iterate far fewer
2021-04-14 15:25:38 +10:00
itsmattkc 46fb53ff24 audiowaveformview: use new mipmapped waveform system
Fixes #1427
2021-04-14 13:48:18 +10:00
itsmattkc 87e315c493 viewer: stop restart timer on pause
Fixes #1569
2021-04-14 13:45:35 +10:00
itsmattkc e0a94ca776 viewer: don't assume still if no texture connected 2021-04-14 11:53:23 +10:00
itsmattkc 429442c0ea viewer: restart audio if validated during playback
Fixes #1566
2021-04-14 11:20:02 +10:00
itsmattkc 51064f44f5 slider: use cursor-less drag when no multipliers are active 2021-04-13 23:47:58 +10:00
itsmattkc 7107afaf99 audiovisualwaveform: mipmap waveforms 2021-04-13 23:43:44 +10:00
itsmattkc 3590a84945 nodeparamview: don't set properties if the root of an array 2021-04-13 22:41:01 +10:00
itsmattkc 09009e01fc viewer: reimplement still support in a more robust way 2021-04-13 15:47:04 +10:00
itsmattkc 46e00c0099 viewer: store video/audio length outside of cache 2021-04-13 15:39:45 +10:00
itsmattkc f9c145b4d4 viewer: default to black background
Fixes theme background no null frame in full screen.
2021-04-13 15:37:22 +10:00
itsmattkc e54854b78a fixed issue where timecodes in UI weren't updated correctly 2021-04-13 13:22:46 +10:00
itsmattkc 31b543c421 videoparamedit: fixed parameter mask bug 2021-04-13 13:07:12 +10:00
itsmattkc e141b486ae viewer: fixed issues with audio-only nodes in the viewer 2021-04-13 12:17:38 +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 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 0afaf0a03d handmovableview: set interactive to false when dragging
Fixes #1536
2021-04-12 10:06:37 +10:00
itsmattkc 8c18b58bbb nodeparamview: pick up move event
Fixes #1547
2021-04-11 19:58:37 +10:00
itsmattkc 515d459d36 nodeparamview: make keyframes on every key track by default
Fixes #1437
2021-04-11 19:38:29 +10:00
itsmattkc a87adbd801 fixed precache task
Fixes #1558
2021-04-11 18:57:21 +10:00
itsmattkc a54b42fea4 nodeview: attach nodes to cursor as an undo command 2021-04-11 12:52:46 +10:00
itsmattkc bd052ff4c8 timeline: null checks around any timestamp transform to audio timebase 2021-04-11 12:26:58 +10:00
itsmattkc c687460f89 added null checks to timeline snapping and seekablewidget seeking 2021-04-10 09:24:16 +10:00
itsmattkc 831bac70c5 viewer: don't trigger context menu if no node is connected 2021-04-08 23:33:55 +10:00
itsmattkc 4021a7166d viewer: keep track of which screens have full screen viewers on them
Fixes #1307
2021-04-08 22:37:38 +10:00
itsmattkc 52ccaa15d3 timeline: clear ghosts on delete
Fixes #1556
2021-04-08 19:08:29 +10:00
itsmattkc 5b0332260f revise operation cache blocking system
Fixes #1553
2021-04-08 19:05:12 +10:00
itsmattkc abe28f81bf makeCurrent when destroying ManagedDisplayWidgets
Fixes #1555
2021-04-08 18:59:04 +10:00
itsmattkc ff9e9eb90b fixed qt assert when importing files 2021-04-08 12:42:09 +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 2791e8d738 timeline: null check when updating timebase
Fixes crash on close
2021-04-08 10:45:01 +10:00
itsmattkc f61bb67ff0 timeline: prevent nesting sequence with itself 2021-04-08 10:44:44 +10:00
itsmattkc 2dc27de37c ensure frame rate and sample rate changes ripple through widgets 2021-04-08 10:44:32 +10:00
itsmattkc ea29ffef96 minor refactoring and signalling panel subtitle by node change
Fixes issue where Footage Viewer subtitle wouldn't update when
dropping footage in.
2021-04-08 10:42:13 +10:00
itsmattkc 2597eea08b Merge branch 'master' into footage-viewer-merge 2021-04-08 09:49:57 +10:00
itsmattkc 02b21a22aa slider: start listening to mouse input only after positioning 2021-04-08 09:49:21 +10:00
itsmattkc eef19ca0ff streamlined viewable-based lengths 2021-04-08 09:46:31 +10:00
itsmattkc 603aa3c138 added comment 2021-04-08 08:00:25 +10:00
itsmattkc d495815550 audio: use sample rate rather than timebase now they aren't interchangeable 2021-04-08 07:59:56 +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 da4a93f1a5 timeline: minor enhancement, probably fixes nothing 2021-04-05 15:54:13 +10:00
itsmattkc 6e7c8088b7 viewer: ensure instances are actually removed from list 2021-04-05 15:04:48 +10:00
itsmattkc 9be014c0b6 refactored so sequence is again a derivative of viewer 2021-04-05 14:41:59 +10:00