Commit Graph
4048 Commits
Author SHA1 Message Date
itsmattkc d552e71845 cleanup and included closing footage viewer if footage is in use 2020-10-05 01:04:45 +11:00
itsmattkc fa8e7ab5ee Merge branch 'delete_footage' of https://github.com/ThomasWilshaw/olive into ThomasWilshaw-delete_footage 2020-10-04 21:42:11 +11:00
itsmattkc ebd9e27127 Merge pull request #1244 from ThomasWilshaw/Fix_#1241
Fix issue#1241
2020-10-04 21:39:16 +11:00
itsmattkc de9c67a0f8 project: detect project version and show errors on incompatibility 2020-10-03 23:44:32 +10:00
Thomas Wilshaw 9d27d557cd Replace custom unlink with BlockUnlinkAllCommand
Re-use existing unlink command and move all the unlinking code to
NodeRemoveCommand to cover all bases (deletion of a block in the
timeline or in the node editor).
2020-09-30 18:14:11 +01:00
Thomas Wilshaw e09afd7f68 Fix Issue#1241
When a Block node was deleted its linked blocks were not unlinked
which caused a crash when the user tried to select a linked block.
This fixes the issue by ensuring all links are removed when a Block
node is delete.

Undo/redo is also supported.
2020-09-29 18:27:30 +01:00
itsmattkc b9359ce50d nodeparamview/viewer: improved gizmo selection system 2020-09-30 00:32:40 +10:00
Thomas Wilshaw 7704e00443 Cleanup 2020-09-29 14:14:21 +01:00
Thomas Wilshaw 56e2b51041 Add filename to warning message. 2020-09-29 14:03:25 +01:00
Thomas Wilshaw a71df11fa6 Deal with composite blocks
If a block relies on mulitple inputs (i.e. a composite) then don't
delete these from the timeline. We catch these inputs afterwards.
2020-09-29 13:29:59 +01:00
Thomas Wilshaw 791857fba1 Cleanup. 2020-09-29 12:03:01 +01:00
Thomas Wilshaw 8e6b42a160 Simplify and clean up
Remove the Undo code for deleting a clip and replace it with simpler
parent/child undo relationship.

Move block gathering code to seperate function. It's quite brute
force and might lead to issues further down the line with more
complex composited node setups.
2020-09-29 11:31:03 +01:00
Thomas Wilshaw aef9078598 Fix delete redo code 2020-09-29 10:56:30 +01:00
itsmattkc fec9774935 curveview: finished rework 2020-09-29 16:41:12 +10:00
Thomas Wilshaw 92db735022 Add Delete functionality. Still buggy. 2020-09-29 00:06:38 +01:00
itsmattkc 610f4c54fe various: began heavy rework of curve view to link closely with param view 2020-09-29 00:42:16 +10:00
itsmattkc fb6e8a8a13 volume: disable keyframing on the sample input 2020-09-29 00:40:40 +10:00
Thomas Wilshaw 602f96b2b6 Cleanup comment 2020-09-28 14:33:58 +01:00
Thomas Wilshaw 5bb9cb0cca Make Offlining footage an UndoCommand
Created a new UndoCommand in ProjectViewModel that set the footage
input to a nullptr and resets it to the correct stream on undo.
2020-09-28 14:33:58 +01:00
Thomas Wilshaw c1e345611d Cleanup. 2020-09-28 14:33:56 +01:00
Thomas Wilshaw 0f1d4ec1b8 Make sure image sequences are caught. 2020-09-28 14:33:55 +01:00
Thomas Wilshaw 0e272b6bba Cleanup and add warning message. 2020-09-28 14:33:54 +01:00
Thomas Wilshaw 3ed0cb2ab9 Move search code to seperate function. 2020-09-28 14:33:54 +01:00
Thomas Wilshaw 7c7db5c933 Check footage in use before deleteing
Initial very hacky implementation that checks if the footgae is in
use before deleting it and makes sure all refernences to it are
properly cleaned up.

Also added IsMedia() function to Node to simplify things a bit.
2020-09-28 14:33:53 +01:00
itsmattkc dc56dc1d60 nodeparamview: implemented pinning 2020-09-28 21:50:55 +10:00
itsmattkc 4c30773fd4 nodeparamview: reworked based on QMainWindow for docking functionality 2020-09-28 19:55:18 +10:00
itsmattkc dac68cabc2 timeline: made ReplaceBlocksWithGaps more accessible for other parts of the program 2020-09-28 14:28:56 +10:00
itsmattkc a313fb525c use QGraphicsView::FullViewportUpdate on TimelineViewBase
Since this appears to be necessary for all derivatives anyway, we'll add
this directly to the base class.
2020-09-28 14:21:17 +10:00
itsmattkc 909dd37cc2 files: continue using temp location for temp files and use cache location just for ocio 2020-09-28 14:20:48 +10:00
itsmattkc a82e2d5ae5 use cache location instead of temp location for ocio extraction
Workaround for Linux not having a user-specific temp directory, causing
potential permission issues if more than one user is accessing the extraction.

Fixes #1239.
2020-09-28 04:53:17 +10:00
itsmattkc 79d8b95f4e bug: actually use the absolute path we generate for crashpad
Fixes #1230
2020-09-27 00:43:17 +10:00
itsmattkc d71c1870f4 Merge branch 'master' of https://github.com/olive-editor/olive 2020-09-27 00:40:10 +10:00
itsmattkc 4290d9b897 oiio: removed unused enum 2020-09-25 16:59:56 +10:00
itsmattkc fd143f1d51 Merge pull request #1220 from ThomasWilshaw/Fix_#1218
Fix Issue #1218
2020-09-25 11:18:58 +10:00
itsmattkc 3ec1407f91 Merge branch 'master' of https://github.com/olive-editor/olive 2020-09-25 11:15:24 +10:00
Thomas Wilshaw 378708c9d3 Exporter falls back to timeline if all else fails
If no recent TimeBasedPanel can be found the exporter defaults to the
first timeline. If this also fails an error is shown.
2020-09-24 17:46:11 +01:00
itsmattkc 0a1cd0e1c0 ui: force full screen border on Windows
Fixes #1226

Workaround for known Qt issue: https://doc.qt.io/qt-5/windows-issues.html
2020-09-25 00:04:23 +10:00
itsmattkc 654370425d crashpad: detect when crashpad handler is missing 2020-09-24 23:56:58 +10:00
Thomas Wilshaw 615ce8ef79 Fix Issue #1218
Add an error message if there is no active sequence.

Selected a Sequence panel as opposed to a generic time based panel as
we will only ever export a sequence. Also makes error logic slightly
easier.
2020-09-23 17:59:15 +01:00
Simran Spiller faf3670850 ci: Don't trigger build on certain paths
Makes no sense for updates to issue templates, the funding config and readme.

Also exclude docker folder, as changes will not affect the build until someone builds & pushes updated images.

Do not exclude the LICENSE file however, as it gets packaged in CI runs.
2020-09-23 14:50:48 +02:00
Simran Spiller 21412c5eee github: Fix build issue templates
There's a limitation to the length of frontmatter fields it seems:
About is too long (maximum is 200 characters)
2020-09-23 14:34:12 +02:00
Simran Spiller 7f4157042d github: issue template formatting
Wrap lines at ~80 characters, add space after subjects in title
2020-09-23 14:23:42 +02:00
itsmattkc 3855da2335 use https for site communication 2020-09-23 21:35:30 +10:00
itsmattkc 34d527020f cmake: ensure 8 character hash
Fixes #1219
2020-09-23 21:19:53 +10:00
itsmattkc d186f69eb1 removed extraneous release text file 2020-09-23 21:12:40 +10:00
itsmattkc e98261658e use different push URL 2020-09-23 21:12:36 +10:00
itsmattkc d5595ccd53 Merge branch 'master' of https://github.com/olive-editor/olive 2020-09-23 15:46:14 +10:00
itsmattkc 8a45bc10d3 Merge branch 'master' of https://github.com/olive-editor/olive 2020-09-23 15:44:03 +10:00
itsmattkc 08c0931016 crashhandler: stay on top so it's hard to miss 2020-09-23 15:41:23 +10:00
itsmattkc 983f43d738 cmake: minor improvements to crashpad find script 2020-09-23 14:08:22 +10:00