itsmattkc
46e457f0aa
start using source file for timelineundo again
...
Less recompiling than having it all in a header
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
22b2d08baf
rational: implement NaN mode
...
Also clarify code where 0 is used as a rational.
2021-04-17 15:04:03 +10:00
itsmattkc
b98bda47cf
Merge branch 'master' of https://github.com/olive-editor/olive
2021-04-17 12:56:27 +10:00
itsmattkc
824b87c9d4
timeline: fix double re-do
...
Fixes crash on timeline insert.
2021-04-17 12:50:42 +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
5b0332260f
revise operation cache blocking system
...
Fixes #1553
2021-04-08 19:05:12 +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
eef19ca0ff
streamlined viewable-based lengths
2021-04-08 09:46:31 +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
9e4d42da26
ci: reference windeployqt directly
2021-03-23 23:44:01 +11:00
itsmattkc
4cb14ae1e0
ensure dependency position is set when using add tool
2021-03-22 12:08:43 +11:00
itsmattkc
643999e308
auto-position gaps when replacing blocks with gaps
2021-03-16 12:13:08 +11:00
itsmattkc
50c7f8019b
added auto-positioning to split command
2021-03-15 18:23:34 +11:00
itsmattkc
056a1202d6
added new auto-positioning to place block command
2021-03-14 22:09:59 +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
5d59ecb699
timeline: allow disabling waveforms
2021-03-10 14:23:59 +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
e0443e017c
fixed merge connection issue
2021-02-21 10:14:55 +11:00
itsmattkc
4827782331
moved sequence params into node graph too
...
Reduces code by reusing more of the existing node infrastructure
to synchronize sequence parameters the render backend.
2021-02-18 13:20:23 +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
81c1922911
use strings to connect nodes
...
This makes the node system somewhat more high-level with the intent of making
working with them far more flexible and stable. By making the architecture more
abstracted, it becomes far less rigid which should allow us to do even more
with it and make it much less crash prone.
2021-02-09 15:48:37 +11:00
itsmattkc
d1a3e22eaa
fixed linux compilation issues
2021-01-31 10:39:14 +11:00
itsmattkc
29eccf8e84
add opening sequence to the import undo command
2021-01-29 18:11:01 +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