Commit Graph
178 Commits
Author SHA1 Message Date
itsmattkc bdbeb111e8 ui: make color setting undoable 2021-08-07 20:37:40 -07:00
itsmattkc f6eea56310 fix build warning 2021-08-02 11:08:57 -07:00
itsmattkc 438cce1ce5 widget: use rational for internal playhead value
Fixes #1688
2021-08-02 10:55:01 -07:00
itsmattkc 4510f6d36a timeline: add move in/out to playhead
Fixes #1691
2021-08-02 07:50:36 -07:00
itsmattkc c36efddf86 speeddurdialog now sets speed correctly 2021-08-01 13:34:42 -07:00
itsmattkc 930d8309d3 timeline: implemented nudging #1692 2021-07-30 19:17:26 -07:00
itsmattkc 1c8b1b6006 nodeview: fixed pasting/duplicating crash 2021-07-23 22:09:28 -07:00
itsmattkc cdc8df1dc5 added node properties dialog
Incomplete, but probably useful
2021-07-23 18:22:02 -07:00
itsmattkc 7fe8dbc77a timeline: fixed double remove on transitions
Fixes #1655
2021-07-22 01:09:06 -07:00
itsmattkc 841e9086bc timeline: show transition tool overlay 2021-07-20 20:07:44 -07:00
itsmattkc c41047ab02 timeline: reorganized undo commands
Split commands between several files rather than having them all in two monolithic ones.
2021-07-16 01:38:20 -07:00
itsmattkc 0ce602c132 Merge branch 'master' into nodeview-redux 2021-05-21 11:13:42 +10:00
itsmattkc cc21ed37a7 implemented core subtitle support 2021-05-18 12:42:47 +10:00
itsmattkc f2d64728f9 work towards timeline/nodeview interactivity 2021-05-17 11:14:56 +10:00
itsmattkc 72ed87d923 ui: scroll zoom preference now specific to widget
Fixes #1597
2021-05-10 12:07:15 +10:00
itsmattkc 52076b19fc timeline: added more signalling when tracklists change
Fixes #1591
2021-04-27 10:08:04 +10:00
itsmattkc e2a590da26 timeline: remove transitions when removing clips
Fixes #1224
2021-04-26 20:29:21 +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 22b2d08baf rational: implement NaN mode
Also clarify code where 0 is used as a rational.
2021-04-17 15:04:03 +10:00
Thomas Wilshaw 1b4fd56803 timelinewidget: Catch any nullptr, not just kHand 2021-04-16 20:27:44 +01:00
Thomas Wilshaw 837ab00ec5 TimelineWidget: catch hand tool double click
The hand tool does not inherit from TimelineTool (it is a special
program
wide tool) so tools_[olive::Tool::kHand] is a nullptr. Therefore when
ViewMouseDoubleClicked is called we check if the hand tool is
selected and
simply return if it is.

Fixes #1577
2021-04-15 20:17:29 +01:00
itsmattkc e54854b78a fixed issue where timecodes in UI weren't updated correctly 2021-04-13 13:22: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 52ccaa15d3 timeline: clear ghosts on delete
Fixes #1556
2021-04-08 19:08:29 +10:00
itsmattkc 2791e8d738 timeline: null check when updating timebase
Fixes crash on close
2021-04-08 10:45:01 +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 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 9be014c0b6 refactored so sequence is again a derivative of viewer 2021-04-05 14:41:59 +10:00
itsmattkc d03da1817f timeline: null check on block track
If a block has no track, it's probably not on the timeline and can be safely
ignored.
2021-03-24 10:25:52 +11:00
itsmattkc 5d59ecb699 timeline: allow disabling waveforms 2021-03-10 14:23:59 +11:00
itsmattkc d7c5ac4b44 implement entire project in nodes
Project items are now represented directly in nodes opening up more versatility and possibilities. This is the first iteration of this and will be buggy. Need to test thoroughly.
2021-02-15 21:31:57 +11:00
itsmattkc ad4b83a098 new undo system
Also enables undoing when working with node input arrays
2021-01-29 16:10:34 +11:00
itsmattkc 9f99182089 use catch up scrolling when dragging items 2021-01-25 10:22:14 +11:00
itsmattkc 2da0aed942 remove unnecessary sequence casts 2021-01-25 09:33:50 +11:00
itsmattkc 7795d42347 moved block links to node links
Seems like it might be useful to have this as part of the node architecture as a whole
2021-01-25 09:17:25 +11:00
itsmattkc 2c7e974f78 scroll only in increments when dragging the playhead 2021-01-24 18:38:57 +11:00
itsmattkc eb132d93de timebasedviews: only drag playhead when there's no item underneath the cursor 2021-01-24 09:36:05 +11:00
itsmattkc e02a307498 timeline: don't copy vectors
This is no longer necessary
2021-01-22 19:25:22 +11:00
itsmattkc d9019f9cb1 fixed node removals 2021-01-22 19:23:20 +11:00
itsmattkc fa1fbd3a34 nodeview: updated with new node color UI system 2021-01-19 09:08:46 +11:00
itsmattkc b4dd976e90 revised UI color system when showing nodes
Olive now has a set of colors that categories can be "assigned" to. The timeline also shares the same colors as the NodeView. Colors can be configured per node (aka per clip).
2021-01-15 18:44:34 +11:00
itsmattkc 91740dd823 reworked all timeline commands
I'll be honest, this stuff probably caused a lot of crashes. Objects were constantly created and destroyed without the foresight that other commands might be using them. This should fix a lot of that.
2021-01-15 14:36:21 +11:00
itsmattkc f7883bd02c began some rewrites to timeline drawing 2021-01-14 10:30:20 +11:00